Class PaymentStatusInterfaceCodeSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentStatusInterfaceCodeSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<PaymentStatusInterfaceCodeSetMessagePayload>
public class PaymentStatusInterfaceCodeSetMessagePayloadBuilder
extends Object
implements Builder<PaymentStatusInterfaceCodeSetMessagePayload>
PaymentStatusInterfaceCodeSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentStatusInterfaceCodeSetMessagePayload paymentStatusInterfaceCodeSetMessagePayload = PaymentStatusInterfaceCodeSetMessagePayload.builder()
.paymentId("{paymentId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentStatusInterfaceCodeSetMessagePayload with checking for non-null required valuesbuilds PaymentStatusInterfaceCodeSetMessagePayload without checking for non-null required valuesTheinterfaceCode
that was set during the Set StatusInterfaceCode update action.interfaceCode
(String interfaceCode) TheinterfaceCode
that was set during the Set StatusInterfaceCode update action.of()
factory method for an instance of PaymentStatusInterfaceCodeSetMessagePayloadBuildercreate builder for PaymentStatusInterfaceCodeSetMessagePayload instance
-
Constructor Details
-
PaymentStatusInterfaceCodeSetMessagePayloadBuilder
public PaymentStatusInterfaceCodeSetMessagePayloadBuilder()
-
-
Method Details
-
interfaceCode
public PaymentStatusInterfaceCodeSetMessagePayloadBuilder interfaceCode(@Nullable String interfaceCode) The
interfaceCode
that was set during the Set StatusInterfaceCode update action.- Parameters:
interfaceCode
- value to be set- Returns:
- Builder
-
getInterfaceCode
The
interfaceCode
that was set during the Set StatusInterfaceCode update action.- Returns:
- interfaceCode
-
build
builds PaymentStatusInterfaceCodeSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentStatusInterfaceCodeSetMessagePayload>
- Returns:
- PaymentStatusInterfaceCodeSetMessagePayload
-
buildUnchecked
builds PaymentStatusInterfaceCodeSetMessagePayload without checking for non-null required values- Returns:
- PaymentStatusInterfaceCodeSetMessagePayload
-
of
factory method for an instance of PaymentStatusInterfaceCodeSetMessagePayloadBuilder- Returns:
- builder
-
of
public static PaymentStatusInterfaceCodeSetMessagePayloadBuilder of(PaymentStatusInterfaceCodeSetMessagePayload template) create builder for PaymentStatusInterfaceCodeSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-