Class PaymentRef
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.PaymentRef
@Validated
@Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
date="2022-10-21T20:34:47.671Z")
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.
-
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.getType()Payment method type.inthashCode()voidsetAtreferredType(String atreferredType) voidvoidvoidvoidvoidsetType(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
-
equals
-
hashCode
public int hashCode() -
toString
-