Class StoreRefundPolicyUrlSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.StoreRefundPolicyUrlSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<StoreRefundPolicyUrlSetMessagePayload>
public class StoreRefundPolicyUrlSetMessagePayloadBuilder
extends Object
implements Builder<StoreRefundPolicyUrlSetMessagePayload>
StoreRefundPolicyUrlSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StoreRefundPolicyUrlSetMessagePayload storeRefundPolicyUrlSetMessagePayload = StoreRefundPolicyUrlSetMessagePayload.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds StoreRefundPolicyUrlSetMessagePayload with checking for non-null required valuesbuilds StoreRefundPolicyUrlSetMessagePayload without checking for non-null required valuesof()factory method for an instance of StoreRefundPolicyUrlSetMessagePayloadBuilderof(StoreRefundPolicyUrlSetMessagePayload template) create builder for StoreRefundPolicyUrlSetMessagePayload instancerefundPolicyUrl(String refundPolicyUrl)
-
Constructor Details
-
StoreRefundPolicyUrlSetMessagePayloadBuilder
public StoreRefundPolicyUrlSetMessagePayloadBuilder()
-
-
Method Details
-
refundPolicyUrl
public StoreRefundPolicyUrlSetMessagePayloadBuilder refundPolicyUrl(@Nullable String refundPolicyUrl) The
refundPolicyUrlof the Store after the Set Refund Policy Url update action.- Parameters:
refundPolicyUrl- value to be set- Returns:
- Builder
-
getRefundPolicyUrl
The
refundPolicyUrlof the Store after the Set Refund Policy Url update action.- Returns:
- refundPolicyUrl
-
build
builds StoreRefundPolicyUrlSetMessagePayload with checking for non-null required values- Specified by:
buildin interfaceBuilder<StoreRefundPolicyUrlSetMessagePayload>- Returns:
- StoreRefundPolicyUrlSetMessagePayload
-
buildUnchecked
builds StoreRefundPolicyUrlSetMessagePayload without checking for non-null required values- Returns:
- StoreRefundPolicyUrlSetMessagePayload
-
of
factory method for an instance of StoreRefundPolicyUrlSetMessagePayloadBuilder- Returns:
- builder
-
of
public static StoreRefundPolicyUrlSetMessagePayloadBuilder of(StoreRefundPolicyUrlSetMessagePayload template) create builder for StoreRefundPolicyUrlSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-