Class MyPaymentSetMethodInfoCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<MyPaymentSetMethodInfoCustomTypeAction>
Example to create an instance using the builder pattern
MyPaymentSetMethodInfoCustomTypeAction myPaymentSetMethodInfoCustomTypeAction = MyPaymentSetMethodInfoCustomTypeAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds MyPaymentSetMethodInfoCustomTypeAction with checking for non-null required valuesbuilds MyPaymentSetMethodInfoCustomTypeAction without checking for non-null required valuesfields(FieldContainer fields) Object containing the Custom Fields fields for thepaymentMethodInfo.Object containing the Custom Fields fields for thepaymentMethodInfo.Object containing the Custom Fields fields for thepaymentMethodInfo.getType()of()factory method for an instance of MyPaymentSetMethodInfoCustomTypeActionBuilderof(MyPaymentSetMethodInfoCustomTypeAction template) create builder for MyPaymentSetMethodInfoCustomTypeAction instancetype(TypeResourceIdentifier type) Object containing the Custom Fields fields for thepaymentMethodInfo.
-
Constructor Details
-
MyPaymentSetMethodInfoCustomTypeActionBuilder
public MyPaymentSetMethodInfoCustomTypeActionBuilder()
-
-
Method Details
-
type
public MyPaymentSetMethodInfoCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the
paymentMethodInfowith Custom Fields.- Parameters:
builder- function to build the type value- Returns:
- Builder
-
withType
public MyPaymentSetMethodInfoCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the
paymentMethodInfowith Custom Fields.- Parameters:
builder- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the
paymentMethodInfowith Custom Fields.- Parameters:
type- value to be set- Returns:
- Builder
-
fields
public MyPaymentSetMethodInfoCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Object containing the Custom Fields fields for the
paymentMethodInfo.Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Parameters:
builder- function to build the fields value- Returns:
- Builder
-
withFields
public MyPaymentSetMethodInfoCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Object containing the Custom Fields fields for the
paymentMethodInfo.Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Parameters:
builder- function to build the fields value- Returns:
- Builder
-
fields
Object containing the Custom Fields fields for the
paymentMethodInfo.Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Parameters:
fields- value to be set- Returns:
- Builder
-
getType
Defines the Type that extends the
paymentMethodInfowith Custom Fields.- Returns:
- type
-
getFields
Object containing the Custom Fields fields for the
paymentMethodInfo.Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Returns:
- fields
-
build
builds MyPaymentSetMethodInfoCustomTypeAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<MyPaymentSetMethodInfoCustomTypeAction>- Returns:
- MyPaymentSetMethodInfoCustomTypeAction
-
buildUnchecked
builds MyPaymentSetMethodInfoCustomTypeAction without checking for non-null required values- Returns:
- MyPaymentSetMethodInfoCustomTypeAction
-
of
factory method for an instance of MyPaymentSetMethodInfoCustomTypeActionBuilder- Returns:
- builder
-
of
public static MyPaymentSetMethodInfoCustomTypeActionBuilder of(MyPaymentSetMethodInfoCustomTypeAction template) create builder for MyPaymentSetMethodInfoCustomTypeAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-