Interface StoreSetRefundPolicyUrlAction

All Superinterfaces:
ResourceUpdateAction<StoreUpdateAction>, StoreUpdateAction

public interface StoreSetRefundPolicyUrlAction extends StoreUpdateAction

This update action produces the StoreRefundPolicyUrlSet Message.


Example to create an instance using the builder pattern

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

    • SET_REFUND_POLICY_URL

      static final String SET_REFUND_POLICY_URL
      discriminator value for StoreSetRefundPolicyUrlAction
      See Also:
  • Method Details

    • getRefundPolicyUrl

      String getRefundPolicyUrl()

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

      Returns:
      refundPolicyUrl
    • setRefundPolicyUrl

      void setRefundPolicyUrl(String refundPolicyUrl)

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

      Parameters:
      refundPolicyUrl - value to be set
    • of

      factory method
      Returns:
      instance of StoreSetRefundPolicyUrlAction
    • of

      factory method to create a shallow copy StoreSetRefundPolicyUrlAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • copyDeep

      Specified by:
      copyDeep in interface StoreUpdateAction
    • deepCopy

      @Nullable static StoreSetRefundPolicyUrlAction deepCopy(@Nullable StoreSetRefundPolicyUrlAction template)
      factory method to create a deep copy of StoreSetRefundPolicyUrlAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for StoreSetRefundPolicyUrlAction
      Returns:
      builder
    • builder

      create builder for StoreSetRefundPolicyUrlAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withStoreSetRefundPolicyUrlAction

      default <T> T withStoreSetRefundPolicyUrlAction(Function<StoreSetRefundPolicyUrlAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static tools.jackson.core.type.TypeReference<StoreSetRefundPolicyUrlAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference