Interface OrderSetBillingAddressAction

All Superinterfaces:
OrderUpdateAction, ResourceUpdateAction<OrderUpdateAction>

public interface OrderSetBillingAddressAction extends OrderUpdateAction

This action updates the billingAddress on the Order, but it does not change the billing address on the referenced Cart from which the Order is created.

Produces the Order Billing Address Set Message.


Example to create an instance using the builder pattern

     OrderSetBillingAddressAction orderSetBillingAddressAction = OrderSetBillingAddressAction.builder()
             .build()
 
  • Field Details

    • SET_BILLING_ADDRESS

      static final String SET_BILLING_ADDRESS
      discriminator value for OrderSetBillingAddressAction
      See Also:
  • Method Details

    • getAddress

      @Valid @Valid BaseAddress getAddress()

      Value to set. It replaces the entire address, including Custom Fields if custom is not included. To preserve Custom Fields, include the custom object in the request.

      If omitted, any existing value is removed.

      Returns:
      address
    • setAddress

      void setAddress(BaseAddress address)

      Value to set. It replaces the entire address, including Custom Fields if custom is not included. To preserve Custom Fields, include the custom object in the request.

      If omitted, any existing value is removed.

      Parameters:
      address - value to be set
    • of

      factory method
      Returns:
      instance of OrderSetBillingAddressAction
    • of

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

      Specified by:
      copyDeep in interface OrderUpdateAction
    • deepCopy

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

      builder factory method for OrderSetBillingAddressAction
      Returns:
      builder
    • builder

      create builder for OrderSetBillingAddressAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withOrderSetBillingAddressAction

      default <T> T withOrderSetBillingAddressAction(Function<OrderSetBillingAddressAction,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<OrderSetBillingAddressAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference