Interface PaymentSetCustomerAction

All Superinterfaces:
PaymentUpdateAction, ResourceUpdateAction<PaymentUpdateAction>

public interface PaymentSetCustomerAction extends PaymentUpdateAction
PaymentSetCustomerAction
Example to create an instance using the builder pattern

     PaymentSetCustomerAction paymentSetCustomerAction = PaymentSetCustomerAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getCustomer

      @Valid @Valid CustomerResourceIdentifier getCustomer()

      Value to set. If empty, any existing reference is removed.

      Returns:
      customer
    • setCustomer

      void setCustomer(CustomerResourceIdentifier customer)

      Value to set. If empty, any existing reference is removed.

      Parameters:
      customer - value to be set
    • of

      factory method
      Returns:
      instance of PaymentSetCustomerAction
    • of

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

      factory method to create a deep copy of PaymentSetCustomerAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for PaymentSetCustomerAction
      Returns:
      builder
    • builder

      create builder for PaymentSetCustomerAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withPaymentSetCustomerAction

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

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