Class StoreSetRefundPolicyUrlActionBuilder
java.lang.Object
com.commercetools.api.models.store.StoreSetRefundPolicyUrlActionBuilder
- All Implemented Interfaces:
Builder<StoreSetRefundPolicyUrlAction>
public class StoreSetRefundPolicyUrlActionBuilder
extends Object
implements Builder<StoreSetRefundPolicyUrlAction>
StoreSetRefundPolicyUrlActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StoreSetRefundPolicyUrlAction storeSetRefundPolicyUrlAction = StoreSetRefundPolicyUrlAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds StoreSetRefundPolicyUrlAction with checking for non-null required valuesbuilds StoreSetRefundPolicyUrlAction without checking for non-null required valuesValue to set.of()factory method for an instance of StoreSetRefundPolicyUrlActionBuilderof(StoreSetRefundPolicyUrlAction template) create builder for StoreSetRefundPolicyUrlAction instancerefundPolicyUrl(String refundPolicyUrl) Value to set.
-
Constructor Details
-
StoreSetRefundPolicyUrlActionBuilder
public StoreSetRefundPolicyUrlActionBuilder()
-
-
Method Details
-
refundPolicyUrl
Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Parameters:
refundPolicyUrl- value to be set- Returns:
- Builder
-
getRefundPolicyUrl
Value to set. Must be an absolute
httpsURL. If empty, any existing value is removed.- Returns:
- refundPolicyUrl
-
build
builds StoreSetRefundPolicyUrlAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<StoreSetRefundPolicyUrlAction>- Returns:
- StoreSetRefundPolicyUrlAction
-
buildUnchecked
builds StoreSetRefundPolicyUrlAction without checking for non-null required values- Returns:
- StoreSetRefundPolicyUrlAction
-
of
factory method for an instance of StoreSetRefundPolicyUrlActionBuilder- Returns:
- builder
-
of
create builder for StoreSetRefundPolicyUrlAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-