Class PaymentRef
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.PaymentRef
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.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatReferredType(String atReferredType) booleanIndicates the type of resource.getCode()Unique identifier of the voucher@NotNull StringgetHref()Hyperlink to access to a payment.@NotNull StringgetId()Identifier of a payment.getName()Name of a payment.Reference of the payment methodgetType()Payment method type.inthashCode()paymentMethod(PaymentMethodRef paymentMethod) voidsetAtReferredType(String atReferredType) voidvoidvoidvoidvoidsetPaymentMethod(PaymentMethodRef paymentMethod) voidsetType(PaymentRef.TypeEnum type) toString()type(PaymentRef.TypeEnum type)
-
Constructor Details
-
PaymentRef
public PaymentRef()
-
-
Method Details
-
id
-
getId
Identifier of a payment.- Returns:
- id
-
setId
-
href
-
getHref
Hyperlink to access to a payment.- Returns:
- href
-
setHref
-
name
-
getName
Name of a payment.- Returns:
- name
-
setName
-
code
-
getCode
Unique identifier of the voucher- Returns:
- code
-
setCode
-
type
-
getType
Payment method type. The content of the details field depends on the value of this one- Returns:
- type
-
setType
-
atReferredType
-
getAtReferredType
Indicates the type of resource. Here can be 'cash', 'BankCard', ‘Check’, etc...- Returns:
- atReferredType
-
setAtReferredType
-
paymentMethod
-
getPaymentMethod
Reference of the payment method- Returns:
- paymentMethod
-
setPaymentMethod
-
equals
-
hashCode
public int hashCode() -
toString
-