Interface PaymentStatusDraft

All Superinterfaces:
io.vrap.rmf.base.client.Draft<PaymentStatusDraft>
All Known Implementing Classes:
PaymentStatusDraftImpl

public interface PaymentStatusDraft extends io.vrap.rmf.base.client.Draft<PaymentStatusDraft>
PaymentStatusDraft
Example to create an instance using the builder pattern

     PaymentStatusDraft paymentStatusDraft = PaymentStatusDraft.builder()
             .build()
 
  • Method Details

    • getInterfaceCode

      String getInterfaceCode()

      External reference that identifies the current status of the Payment.

      Returns:
      interfaceCode
    • getInterfaceText

      String getInterfaceText()

      Text describing the current status of the Payment.

      Returns:
      interfaceText
    • getState

      @Valid @Valid StateResourceIdentifier getState()

      ResourceIdentifier to a State.

      Returns:
      state
    • setInterfaceCode

      void setInterfaceCode(String interfaceCode)

      External reference that identifies the current status of the Payment.

      Parameters:
      interfaceCode - value to be set
    • setInterfaceText

      void setInterfaceText(String interfaceText)

      Text describing the current status of the Payment.

      Parameters:
      interfaceText - value to be set
    • setState

      void setState(StateResourceIdentifier state)

      ResourceIdentifier to a State.

      Parameters:
      state - value to be set
    • of

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

      static PaymentStatusDraft of(PaymentStatusDraft template)
      factory method to create a shallow copy PaymentStatusDraft
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

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

      static PaymentStatusDraftBuilder builder()
      builder factory method for PaymentStatusDraft
      Returns:
      builder
    • builder

      static PaymentStatusDraftBuilder builder(PaymentStatusDraft template)
      create builder for PaymentStatusDraft instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withPaymentStatusDraft

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