Class PaymentSetInterfaceIdActionBuilder
java.lang.Object
com.commercetools.api.models.payment.PaymentSetInterfaceIdActionBuilder
- All Implemented Interfaces:
Builder<PaymentSetInterfaceIdAction>
public class PaymentSetInterfaceIdActionBuilder
extends Object
implements Builder<PaymentSetInterfaceIdAction>
PaymentSetInterfaceIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentSetInterfaceIdAction paymentSetInterfaceIdAction = PaymentSetInterfaceIdAction.builder()
.interfaceId("{interfaceId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentSetInterfaceIdAction with checking for non-null required valuesbuilds PaymentSetInterfaceIdAction without checking for non-null required valuesValue to set.interfaceId
(String interfaceId) Value to set.of()
factory method for an instance of PaymentSetInterfaceIdActionBuilderof
(PaymentSetInterfaceIdAction template) create builder for PaymentSetInterfaceIdAction instance
-
Constructor Details
-
PaymentSetInterfaceIdActionBuilder
public PaymentSetInterfaceIdActionBuilder()
-
-
Method Details
-
interfaceId
Value to set. Once set, the
interfaceId
cannot be changed.- Parameters:
interfaceId
- value to be set- Returns:
- Builder
-
getInterfaceId
Value to set. Once set, the
interfaceId
cannot be changed.- Returns:
- interfaceId
-
build
builds PaymentSetInterfaceIdAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentSetInterfaceIdAction>
- Returns:
- PaymentSetInterfaceIdAction
-
buildUnchecked
builds PaymentSetInterfaceIdAction without checking for non-null required values- Returns:
- PaymentSetInterfaceIdAction
-
of
factory method for an instance of PaymentSetInterfaceIdActionBuilder- Returns:
- builder
-
of
create builder for PaymentSetInterfaceIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-