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