Class PaymentAddInterfaceInteractionActionBuilder
- All Implemented Interfaces:
Builder<PaymentAddInterfaceInteractionAction>
Example to create an instance using the builder pattern
PaymentAddInterfaceInteractionAction paymentAddInterfaceInteractionAction = PaymentAddInterfaceInteractionAction.builder()
.type(typeBuilder -> typeBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds PaymentAddInterfaceInteractionAction with checking for non-null required valuesbuilds PaymentAddInterfaceInteractionAction without checking for non-null required valuesfields(FieldContainer fields) Object containing the Custom Fields fields for the InterfaceInteraction.Object containing the Custom Fields fields for the InterfaceInteraction.Object containing the Custom Fields fields for the InterfaceInteraction.getType()ResourceIdentifier of a Type.of()factory method for an instance of PaymentAddInterfaceInteractionActionBuilderof(PaymentAddInterfaceInteractionAction template) create builder for PaymentAddInterfaceInteractionAction instancetype(TypeResourceIdentifier type) ResourceIdentifier of a Type.ResourceIdentifier of a Type.Object containing the Custom Fields fields for the InterfaceInteraction.ResourceIdentifier of a Type.
-
Constructor Details
-
PaymentAddInterfaceInteractionActionBuilder
public PaymentAddInterfaceInteractionActionBuilder()
-
-
Method Details
-
type
public PaymentAddInterfaceInteractionActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) ResourceIdentifier of a Type.
- Parameters:
builder- function to build the type value- Returns:
- Builder
-
withType
public PaymentAddInterfaceInteractionActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) ResourceIdentifier of a Type.
- Parameters:
builder- function to build the type value- Returns:
- Builder
-
type
ResourceIdentifier of a Type.
- Parameters:
type- value to be set- Returns:
- Builder
-
fields
public PaymentAddInterfaceInteractionActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Object containing the Custom Fields fields for the InterfaceInteraction.
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 PaymentAddInterfaceInteractionActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Object containing the Custom Fields fields for the InterfaceInteraction.
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 InterfaceInteraction.
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
ResourceIdentifier of a Type.
- Returns:
- type
-
getFields
Object containing the Custom Fields fields for the InterfaceInteraction.
Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Returns:
- fields
-
build
builds PaymentAddInterfaceInteractionAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<PaymentAddInterfaceInteractionAction>- Returns:
- PaymentAddInterfaceInteractionAction
-
buildUnchecked
builds PaymentAddInterfaceInteractionAction without checking for non-null required values- Returns:
- PaymentAddInterfaceInteractionAction
-
of
factory method for an instance of PaymentAddInterfaceInteractionActionBuilder- Returns:
- builder
-
of
public static PaymentAddInterfaceInteractionActionBuilder of(PaymentAddInterfaceInteractionAction template) create builder for PaymentAddInterfaceInteractionAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-