Class Payment
java.lang.Object
dev.vality.swag_webhook_events.model.Payment
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-08T11:08:44.744020346Z[Etc/UTC]")
public class Payment
extends Object
Invoice payment data
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayment.StatusEnumPayment status -
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AMOUNTstatic StringJSON_PROPERTY_CONTACT_INFOstatic StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_CURRENCYstatic StringJSON_PROPERTY_ERRORstatic StringJSON_PROPERTY_EXTERNAL_IDstatic StringJSON_PROPERTY_FEEstatic StringJSON_PROPERTY_FINGERPRINTstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_IPstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_PAYERstatic StringJSON_PROPERTY_PAYMENT_SESSIONstatic StringJSON_PROPERTY_PAYMENT_TOOL_TOKENstatic StringJSON_PROPERTY_RRNstatic StringJSON_PROPERTY_STATUS -
Constructor Summary
Constructors Constructor Description Payment() -
Method Summary
Modifier and Type Method Description Paymentamount(Long amount)PaymentcontactInfo(PaymentContactInfo contactInfo)PaymentcreatedAt(OffsetDateTime createdAt)Paymentcurrency(String currency)booleanequals(Object o)Paymenterror(PaymentError error)PaymentexternalId(String externalId)Paymentfee(Long fee)Paymentfingerprint(String fingerprint)LonggetAmount()The price of the goods or services offered, in minor monetary units, e.g.PaymentContactInfogetContactInfo()Get contactInfoOffsetDateTimegetCreatedAt()Date and time of creationStringgetCurrency()Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).PaymentErrorgetError()Get errorStringgetExternalId()Merchant's transaction identifierLonggetFee()System fee in minor monetary units.StringgetFingerprint()**Deprecated.** _Use the `payer` property._ Payer's fingerprintStringgetId()Payment IDStringgetIp()**Deprecated.** _Use the `payer` property._ Payer's IP-addressObjectgetMetadata()Payment metadataPayergetPayer()Get payerStringgetPaymentSession()**Deprecated.** _Use the `payer` property._ Payment session identifierStringgetPaymentToolToken()**Deprecated.** _Use the `payer` property._ Payment tool tokenStringgetRrn()Retrieval reference numberPayment.StatusEnumgetStatus()Payment statusinthashCode()Paymentid(String id)Paymentip(String ip)Paymentmetadata(Object metadata)Paymentpayer(Payer payer)PaymentpaymentSession(String paymentSession)PaymentpaymentToolToken(String paymentToolToken)Paymentrrn(String rrn)voidsetAmount(Long amount)voidsetContactInfo(PaymentContactInfo contactInfo)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCurrency(String currency)voidsetError(PaymentError error)voidsetExternalId(String externalId)voidsetFee(Long fee)voidsetFingerprint(String fingerprint)voidsetId(String id)voidsetIp(String ip)voidsetMetadata(Object metadata)voidsetPayer(Payer payer)voidsetPaymentSession(String paymentSession)voidsetPaymentToolToken(String paymentToolToken)voidsetRrn(String rrn)voidsetStatus(Payment.StatusEnum status)Paymentstatus(Payment.StatusEnum status)StringtoString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ERROR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENCY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_TOOL_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_SESSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTACT_INFO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FINGERPRINT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FEE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RRN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXTERNAL_ID
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Payment
public Payment()
-
-
Method Details
-
id
-
getId
Payment ID- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Date and time of creation- Returns:
- createdAt
-
setCreatedAt
-
status
-
getStatus
Payment status- Returns:
- status
-
setStatus
-
error
-
getError
Get error- Returns:
- error
-
setError
-
amount
-
getAmount
The price of the goods or services offered, in minor monetary units, e.g. cents if U.S. dollars are specified as the currency minimum: 1- Returns:
- amount
-
setAmount
-
currency
-
getCurrency
Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).- Returns:
- currency
-
setCurrency
-
metadata
-
getMetadata
Payment metadata- Returns:
- metadata
-
setMetadata
-
paymentToolToken
-
getPaymentToolToken
**Deprecated.** _Use the `payer` property._ Payment tool token- Returns:
- paymentToolToken
-
setPaymentToolToken
-
paymentSession
-
getPaymentSession
**Deprecated.** _Use the `payer` property._ Payment session identifier- Returns:
- paymentSession
-
setPaymentSession
-
contactInfo
-
getContactInfo
Get contactInfo- Returns:
- contactInfo
-
setContactInfo
-
ip
-
getIp
**Deprecated.** _Use the `payer` property._ Payer's IP-address- Returns:
- ip
-
setIp
-
fingerprint
-
getFingerprint
**Deprecated.** _Use the `payer` property._ Payer's fingerprint- Returns:
- fingerprint
-
setFingerprint
-
payer
-
getPayer
Get payer- Returns:
- payer
-
setPayer
-
fee
-
getFee
System fee in minor monetary units.- Returns:
- fee
-
setFee
-
rrn
-
getRrn
Retrieval reference number- Returns:
- rrn
-
setRrn
-
externalId
-
getExternalId
Merchant's transaction identifier- Returns:
- externalId
-
setExternalId
-
equals
-
hashCode
public int hashCode() -
toString
-