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