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 valuesidof the Custom Type that was removed.of()factory method for an instance of PaymentMethodCustomTypeRemovedMessagePayloadBuildercreate builder for PaymentMethodCustomTypeRemovedMessagePayload instanceidof the Custom Type that was removed.
-
Constructor Details
-
PaymentMethodCustomTypeRemovedMessagePayloadBuilder
public PaymentMethodCustomTypeRemovedMessagePayloadBuilder()
-
-
Method Details
-
oldTypeId
idof the Custom Type that was removed. Absent if there was no previous Custom Type present.- Parameters:
oldTypeId- value to be set- Returns:
- Builder
-
getOldTypeId
idof 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:
buildin 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
-