Class PaymentMethodCustomFieldRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentMethodCustomFieldRemovedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<PaymentMethodCustomFieldRemovedMessagePayload>
public class PaymentMethodCustomFieldRemovedMessagePayloadBuilder
extends Object
implements Builder<PaymentMethodCustomFieldRemovedMessagePayload>
PaymentMethodCustomFieldRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentMethodCustomFieldRemovedMessagePayload paymentMethodCustomFieldRemovedMessagePayload = PaymentMethodCustomFieldRemovedMessagePayload.builder()
.name("{name}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentMethodCustomFieldRemovedMessagePayload with checking for non-null required valuesbuilds PaymentMethodCustomFieldRemovedMessagePayload 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 PaymentMethodCustomFieldRemovedMessagePayloadBuildercreate builder for PaymentMethodCustomFieldRemovedMessagePayload instance
-
Constructor Details
-
PaymentMethodCustomFieldRemovedMessagePayloadBuilder
public PaymentMethodCustomFieldRemovedMessagePayloadBuilder()
-
-
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 PaymentMethodCustomFieldRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentMethodCustomFieldRemovedMessagePayload>
- Returns:
- PaymentMethodCustomFieldRemovedMessagePayload
-
buildUnchecked
builds PaymentMethodCustomFieldRemovedMessagePayload without checking for non-null required values- Returns:
- PaymentMethodCustomFieldRemovedMessagePayload
-
of
factory method for an instance of PaymentMethodCustomFieldRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static PaymentMethodCustomFieldRemovedMessagePayloadBuilder of(PaymentMethodCustomFieldRemovedMessagePayload template) create builder for PaymentMethodCustomFieldRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-