Class PaymentMethodInfoCustomTypeRemovedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentMethodInfoCustomTypeRemovedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<PaymentMethodInfoCustomTypeRemovedMessagePayload>
public class PaymentMethodInfoCustomTypeRemovedMessagePayloadBuilder
extends Object
implements Builder<PaymentMethodInfoCustomTypeRemovedMessagePayload>
PaymentMethodInfoCustomTypeRemovedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentMethodInfoCustomTypeRemovedMessagePayload paymentMethodInfoCustomTypeRemovedMessagePayload = PaymentMethodInfoCustomTypeRemovedMessagePayload.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentMethodInfoCustomTypeRemovedMessagePayload with checking for non-null required valuesbuilds PaymentMethodInfoCustomTypeRemovedMessagePayload without checking for non-null required valuesid
of the Type that was removed.of()
factory method for an instance of PaymentMethodInfoCustomTypeRemovedMessagePayloadBuildercreate builder for PaymentMethodInfoCustomTypeRemovedMessagePayload instanceid
of the Type that was removed.
-
Constructor Details
-
PaymentMethodInfoCustomTypeRemovedMessagePayloadBuilder
public PaymentMethodInfoCustomTypeRemovedMessagePayloadBuilder()
-
-
Method Details
-
oldTypeId
public PaymentMethodInfoCustomTypeRemovedMessagePayloadBuilder oldTypeId(@Nullable String oldTypeId) id
of the Type that was removed. Absent if there was no previous Custom Type present.- Parameters:
oldTypeId
- value to be set- Returns:
- Builder
-
getOldTypeId
id
of the Type that was removed. Absent if there was no previous Custom Type present.- Returns:
- oldTypeId
-
build
builds PaymentMethodInfoCustomTypeRemovedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentMethodInfoCustomTypeRemovedMessagePayload>
- Returns:
- PaymentMethodInfoCustomTypeRemovedMessagePayload
-
buildUnchecked
builds PaymentMethodInfoCustomTypeRemovedMessagePayload without checking for non-null required values- Returns:
- PaymentMethodInfoCustomTypeRemovedMessagePayload
-
of
factory method for an instance of PaymentMethodInfoCustomTypeRemovedMessagePayloadBuilder- Returns:
- builder
-
of
public static PaymentMethodInfoCustomTypeRemovedMessagePayloadBuilder of(PaymentMethodInfoCustomTypeRemovedMessagePayload template) create builder for PaymentMethodInfoCustomTypeRemovedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-