Class PaymentMethodInfoMethodSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentMethodInfoMethodSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<PaymentMethodInfoMethodSetMessagePayload>
public class PaymentMethodInfoMethodSetMessagePayloadBuilder
extends Object
implements Builder<PaymentMethodInfoMethodSetMessagePayload>
PaymentMethodInfoMethodSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentMethodInfoMethodSetMessagePayload paymentMethodInfoMethodSetMessagePayload = PaymentMethodInfoMethodSetMessagePayload.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentMethodInfoMethodSetMessagePayload with checking for non-null required valuesbuilds PaymentMethodInfoMethodSetMessagePayload without checking for non-null required valuesPayment Method after the Set MethodInfo Method update action.Payment Method before the Set MethodInfo Method update action.Payment Method after the Set MethodInfo Method update action.of()
factory method for an instance of PaymentMethodInfoMethodSetMessagePayloadBuilderof
(PaymentMethodInfoMethodSetMessagePayload template) create builder for PaymentMethodInfoMethodSetMessagePayload instancePayment Method before the Set MethodInfo Method update action.
-
Constructor Details
-
PaymentMethodInfoMethodSetMessagePayloadBuilder
public PaymentMethodInfoMethodSetMessagePayloadBuilder()
-
-
Method Details
-
method
Payment Method after the Set MethodInfo Method update action.
- Parameters:
method
- value to be set- Returns:
- Builder
-
oldMethod
Payment Method before the Set MethodInfo Method update action.
- Parameters:
oldMethod
- value to be set- Returns:
- Builder
-
getMethod
Payment Method after the Set MethodInfo Method update action.
- Returns:
- method
-
getOldMethod
Payment Method before the Set MethodInfo Method update action.
- Returns:
- oldMethod
-
build
builds PaymentMethodInfoMethodSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentMethodInfoMethodSetMessagePayload>
- Returns:
- PaymentMethodInfoMethodSetMessagePayload
-
buildUnchecked
builds PaymentMethodInfoMethodSetMessagePayload without checking for non-null required values- Returns:
- PaymentMethodInfoMethodSetMessagePayload
-
of
factory method for an instance of PaymentMethodInfoMethodSetMessagePayloadBuilder- Returns:
- builder
-
of
public static PaymentMethodInfoMethodSetMessagePayloadBuilder of(PaymentMethodInfoMethodSetMessagePayload template) create builder for PaymentMethodInfoMethodSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-