Class PaymentSetMethodInfoCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<PaymentSetMethodInfoCustomTypeAction>
Example to create an instance using the builder pattern
PaymentSetMethodInfoCustomTypeAction paymentSetMethodInfoCustomTypeAction = PaymentSetMethodInfoCustomTypeAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds PaymentSetMethodInfoCustomTypeAction with checking for non-null required valuesbuilds PaymentSetMethodInfoCustomTypeAction 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 PaymentSetMethodInfoCustomTypeActionBuilderof(PaymentSetMethodInfoCustomTypeAction template) create builder for PaymentSetMethodInfoCustomTypeAction instancetype(TypeResourceIdentifier type) Object containing the Custom Fields fields for thepaymentMethodInfo.
-
Constructor Details
-
PaymentSetMethodInfoCustomTypeActionBuilder
public PaymentSetMethodInfoCustomTypeActionBuilder()
-
-
Method Details
-
type
public PaymentSetMethodInfoCustomTypeActionBuilder 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 PaymentSetMethodInfoCustomTypeActionBuilder 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 PaymentSetMethodInfoCustomTypeActionBuilder 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 PaymentSetMethodInfoCustomTypeActionBuilder 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 PaymentSetMethodInfoCustomTypeAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<PaymentSetMethodInfoCustomTypeAction>- Returns:
- PaymentSetMethodInfoCustomTypeAction
-
buildUnchecked
builds PaymentSetMethodInfoCustomTypeAction without checking for non-null required values- Returns:
- PaymentSetMethodInfoCustomTypeAction
-
of
factory method for an instance of PaymentSetMethodInfoCustomTypeActionBuilder- Returns:
- builder
-
of
public static PaymentSetMethodInfoCustomTypeActionBuilder of(PaymentSetMethodInfoCustomTypeAction template) create builder for PaymentSetMethodInfoCustomTypeAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-