Class PaymentSetStatusInterfaceTextActionBuilder
java.lang.Object
com.commercetools.api.models.payment.PaymentSetStatusInterfaceTextActionBuilder
- All Implemented Interfaces:
Builder<PaymentSetStatusInterfaceTextAction>
public class PaymentSetStatusInterfaceTextActionBuilder
extends Object
implements Builder<PaymentSetStatusInterfaceTextAction>
PaymentSetStatusInterfaceTextActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentSetStatusInterfaceTextAction paymentSetStatusInterfaceTextAction = PaymentSetStatusInterfaceTextAction.builder()
.interfaceText("{interfaceText}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentSetStatusInterfaceTextAction with checking for non-null required valuesbuilds PaymentSetStatusInterfaceTextAction without checking for non-null required valuesValue to set.interfaceText
(String interfaceText) Value to set.of()
factory method for an instance of PaymentSetStatusInterfaceTextActionBuilderof
(PaymentSetStatusInterfaceTextAction template) create builder for PaymentSetStatusInterfaceTextAction instance
-
Constructor Details
-
PaymentSetStatusInterfaceTextActionBuilder
public PaymentSetStatusInterfaceTextActionBuilder()
-
-
Method Details
-
interfaceText
Value to set. If empty, any existing value will be removed.
- Parameters:
interfaceText
- value to be set- Returns:
- Builder
-
getInterfaceText
Value to set. If empty, any existing value will be removed.
- Returns:
- interfaceText
-
build
builds PaymentSetStatusInterfaceTextAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentSetStatusInterfaceTextAction>
- Returns:
- PaymentSetStatusInterfaceTextAction
-
buildUnchecked
builds PaymentSetStatusInterfaceTextAction without checking for non-null required values- Returns:
- PaymentSetStatusInterfaceTextAction
-
of
factory method for an instance of PaymentSetStatusInterfaceTextActionBuilder- Returns:
- builder
-
of
public static PaymentSetStatusInterfaceTextActionBuilder of(PaymentSetStatusInterfaceTextAction template) create builder for PaymentSetStatusInterfaceTextAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-