java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.PaymentRef

public class PaymentRef extends Object
If an immediate payment has been done at the product order submission, the payment information are captured and stored (as a reference) in the order.
  • Constructor Details

    • PaymentRef

      public PaymentRef()
  • Method Details

    • id

      public PaymentRef id(String id)
    • getId

      @NotNull public @NotNull String getId()
      Identifier of a payment.
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public PaymentRef href(String href)
    • getHref

      @NotNull public @NotNull String getHref()
      Hyperlink to access to a payment.
      Returns:
      href
    • setHref

      public void setHref(String href)
    • name

      public PaymentRef name(String name)
    • getName

      public String getName()
      Name of a payment.
      Returns:
      name
    • setName

      public void setName(String name)
    • code

      public PaymentRef code(String code)
    • getCode

      public String getCode()
      Unique identifier of the voucher
      Returns:
      code
    • setCode

      public void setCode(String code)
    • type

      public PaymentRef type(PaymentRef.TypeEnum type)
    • getType

      public PaymentRef.TypeEnum getType()
      Payment method type. The content of the details field depends on the value of this one
      Returns:
      type
    • setType

      public void setType(PaymentRef.TypeEnum type)
    • atReferredType

      public PaymentRef atReferredType(String atReferredType)
    • getAtReferredType

      public String getAtReferredType()
      Indicates the type of resource. Here can be 'cash', 'BankCard', ‘Check’, etc...
      Returns:
      atReferredType
    • setAtReferredType

      public void setAtReferredType(String atReferredType)
    • paymentMethod

      public PaymentRef paymentMethod(PaymentMethodRef paymentMethod)
    • getPaymentMethod

      public PaymentMethodRef getPaymentMethod()
      Reference of the payment method
      Returns:
      paymentMethod
    • setPaymentMethod

      public void setPaymentMethod(PaymentMethodRef paymentMethod)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object