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