RefundPaymentPayload class

Annotations
  • @freezed

Constructors

RefundPaymentPayload.new({required String merchantRefundId, required String paymentId, required Amount amount, int? requestedAt, String? reason, String? orderDescription})
factory
RefundPaymentPayload.fromJson(Map<String, dynamic> json)
factory

Properties

amount Amount
Required Amount the user has to Pay
no setterinherited
copyWith → $RefundPaymentPayloadCopyWith<RefundPaymentPayload>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
merchantRefundId String
Required The unique payment transaction id provided by merchant string <= 64 characters
no setterinherited
orderDescription String?
Description of the Order, to see the link to check how it will show up https://www.paypay.ne.jp/opa/doc/jp/v1.0/files/OPA%20PayPay%E3%82%A2%E3%83%97%E3%83%AA%E3%81%A7%E3%81%AE%E8%A1%A8%E7%A4%BA.pdf#page=4 string <= 255 characters
no setterinherited
paymentId String
Required The unique payment transaction id provided by merchant
no setterinherited
reason String?
no setterinherited
requestedAt int?
Request timestamp(Unix epoch but not Unix millisecond epoch)
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited