Class Refund
java.lang.Object
dev.vality.swag_webhook_events.model.Refund
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-08T11:08:44.744020346Z[Etc/UTC]")
public class Refund
extends Object
Refund data within the payment
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRefund.StatusEnumRefund status -
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AMOUNTstatic StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_CURRENCYstatic StringJSON_PROPERTY_ERRORstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_REASONstatic StringJSON_PROPERTY_RRNstatic StringJSON_PROPERTY_STATUS -
Constructor Summary
Constructors Constructor Description Refund() -
Method Summary
Modifier and Type Method Description Refundamount(Long amount)RefundcreatedAt(OffsetDateTime createdAt)Refundcurrency(String currency)booleanequals(Object o)Refunderror(RefundError error)LonggetAmount()Refund amount in minor monetary units, e.g.OffsetDateTimegetCreatedAt()Date and time of creationStringgetCurrency()Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).RefundErrorgetError()Get errorStringgetId()Refund identifierStringgetReason()Refund reasonStringgetRrn()Retrieval reference numberRefund.StatusEnumgetStatus()Refund statusinthashCode()Refundid(String id)Refundreason(String reason)Refundrrn(String rrn)voidsetAmount(Long amount)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCurrency(String currency)voidsetError(RefundError error)voidsetId(String id)voidsetReason(String reason)voidsetRrn(String rrn)voidsetStatus(Refund.StatusEnum status)Refundstatus(Refund.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_REASON
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RRN
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Refund
public Refund()
-
-
Method Details
-
id
-
getId
Refund identifier- Returns:
- id
-
setId
-
createdAt
-
getCreatedAt
Date and time of creation- Returns:
- createdAt
-
setCreatedAt
-
status
-
getStatus
Refund status- Returns:
- status
-
setStatus
-
error
-
getError
Get error- Returns:
- error
-
setError
-
amount
-
getAmount
Refund amount 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
-
reason
-
getReason
Refund reason- Returns:
- reason
-
setReason
-
rrn
-
getRrn
Retrieval reference number- Returns:
- rrn
-
setRrn
-
equals
-
hashCode
public int hashCode() -
toString
-