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

     StoreSetRefundPolicyUrlAction storeSetRefundPolicyUrlAction = StoreSetRefundPolicyUrlAction.builder()
             .build()
 
  • Constructor Details

    • StoreSetRefundPolicyUrlActionBuilder

      public StoreSetRefundPolicyUrlActionBuilder()
  • Method Details

    • refundPolicyUrl

      public StoreSetRefundPolicyUrlActionBuilder refundPolicyUrl(@Nullable String refundPolicyUrl)

      Value to set. Must be an absolute https URL. If empty, any existing value is removed.

      Parameters:
      refundPolicyUrl - value to be set
      Returns:
      Builder
    • getRefundPolicyUrl

      @Nullable public String getRefundPolicyUrl()

      Value to set. Must be an absolute https URL. If empty, any existing value is removed.

      Returns:
      refundPolicyUrl
    • build

      builds StoreSetRefundPolicyUrlAction with checking for non-null required values
      Specified by:
      build in interface Builder<StoreSetRefundPolicyUrlAction>
      Returns:
      StoreSetRefundPolicyUrlAction
    • buildUnchecked

      public 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