Interface PaymentSetKeyAction

All Superinterfaces:
PaymentUpdateAction, ResourceUpdateAction<PaymentUpdateAction>

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

     PaymentSetKeyAction paymentSetKeyAction = PaymentSetKeyAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getKey

      String getKey()

      Value to set. If key is absent or null, the existing key, if any, will be removed.

      Returns:
      key
    • setKey

      void setKey(String key)

      Value to set. If key is absent or null, the existing key, if any, will be removed.

      Parameters:
      key - value to be set
    • of

      static PaymentSetKeyAction of()
      factory method
      Returns:
      instance of PaymentSetKeyAction
    • of

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

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

      static PaymentSetKeyActionBuilder builder()
      builder factory method for PaymentSetKeyAction
      Returns:
      builder
    • builder

      create builder for PaymentSetKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withPaymentSetKeyAction

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

      static PaymentSetKeyAction ofUnset()
    • typeReference

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