Class PaymentMethodInfoCustomFieldRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentMethodInfoCustomFieldRemovedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<PaymentMethodInfoCustomFieldRemovedMessagePayload>
public class PaymentMethodInfoCustomFieldRemovedMessagePayloadBuilder
extends Object
implements Builder<PaymentMethodInfoCustomFieldRemovedMessagePayload>
PaymentMethodInfoCustomFieldRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentMethodInfoCustomFieldRemovedMessagePayload paymentMethodInfoCustomFieldRemovedMessagePayload = PaymentMethodInfoCustomFieldRemovedMessagePayload.builder()
.name("{name}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentMethodInfoCustomFieldRemovedMessagePayload with checking for non-null required valuesbuilds PaymentMethodInfoCustomFieldRemovedMessagePayload without checking for non-null required valuesgetName()
Name of the Custom Field that was removed.Name of the Custom Field that was removed.of()
factory method for an instance of PaymentMethodInfoCustomFieldRemovedMessagePayloadBuildercreate builder for PaymentMethodInfoCustomFieldRemovedMessagePayload instance
-
Constructor Details
-
PaymentMethodInfoCustomFieldRemovedMessagePayloadBuilder
public PaymentMethodInfoCustomFieldRemovedMessagePayloadBuilder()
-
-
Method Details
-
name
Name of the Custom Field that was removed.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
Name of the Custom Field that was removed.
- Returns:
- name
-
build
builds PaymentMethodInfoCustomFieldRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentMethodInfoCustomFieldRemovedMessagePayload>
- Returns:
- PaymentMethodInfoCustomFieldRemovedMessagePayload
-
buildUnchecked
builds PaymentMethodInfoCustomFieldRemovedMessagePayload without checking for non-null required values- Returns:
- PaymentMethodInfoCustomFieldRemovedMessagePayload
-
of
factory method for an instance of PaymentMethodInfoCustomFieldRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static PaymentMethodInfoCustomFieldRemovedMessagePayloadBuilder of(PaymentMethodInfoCustomFieldRemovedMessagePayload template) create builder for PaymentMethodInfoCustomFieldRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-