Class PaymentMethodInfoCustomFieldAddedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentMethodInfoCustomFieldAddedMessagePayloadBuilder
- All Implemented Interfaces:
- Builder<PaymentMethodInfoCustomFieldAddedMessagePayload>
public class PaymentMethodInfoCustomFieldAddedMessagePayloadBuilder
extends Object
implements Builder<PaymentMethodInfoCustomFieldAddedMessagePayload>
PaymentMethodInfoCustomFieldAddedMessagePayloadBuilder
 
Example to create an instance using the builder pattern
 
Example to create an instance using the builder pattern
     PaymentMethodInfoCustomFieldAddedMessagePayload paymentMethodInfoCustomFieldAddedMessagePayload = PaymentMethodInfoCustomFieldAddedMessagePayload.builder()
             .name("{name}")
             .build()
 - 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()builds PaymentMethodInfoCustomFieldAddedMessagePayload with checking for non-null required valuesbuilds PaymentMethodInfoCustomFieldAddedMessagePayload without checking for non-null required valuesgetName()Name of the Custom Field that was added.getValue()The added CustomFieldValue based on the FieldType.Name of the Custom Field that was added.of()factory method for an instance of PaymentMethodInfoCustomFieldAddedMessagePayloadBuildercreate builder for PaymentMethodInfoCustomFieldAddedMessagePayload instanceThe added CustomFieldValue based on the FieldType.
- 
Constructor Details- 
PaymentMethodInfoCustomFieldAddedMessagePayloadBuilderpublic PaymentMethodInfoCustomFieldAddedMessagePayloadBuilder()
 
- 
- 
Method Details- 
nameName of the Custom Field that was added. - Parameters:
- name- value to be set
- Returns:
- Builder
 
- 
valueThe added CustomFieldValue based on the FieldType. - Parameters:
- value- value to be set
- Returns:
- Builder
 
- 
getNameName of the Custom Field that was added. - Returns:
- name
 
- 
getValueThe added CustomFieldValue based on the FieldType. - Returns:
- value
 
- 
buildbuilds PaymentMethodInfoCustomFieldAddedMessagePayload with checking for non-null required values- Specified by:
- buildin interface- Builder<PaymentMethodInfoCustomFieldAddedMessagePayload>
- Returns:
- PaymentMethodInfoCustomFieldAddedMessagePayload
 
- 
buildUncheckedbuilds PaymentMethodInfoCustomFieldAddedMessagePayload without checking for non-null required values- Returns:
- PaymentMethodInfoCustomFieldAddedMessagePayload
 
- 
offactory method for an instance of PaymentMethodInfoCustomFieldAddedMessagePayloadBuilder- Returns:
- builder
 
- 
ofpublic static PaymentMethodInfoCustomFieldAddedMessagePayloadBuilder of(PaymentMethodInfoCustomFieldAddedMessagePayload template) create builder for PaymentMethodInfoCustomFieldAddedMessagePayload instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
 
-