CashBackPayload class
- Annotations
-
- @freezed
Constructors
-
CashBackPayload.new({required String merchantCashbackId, required String userAuthorizationId, required Amount amount, String? merchantCashbackReversalId, int? requestedAt, String? orderDescription, String? walletType, int? expiryDate, Map<
String, dynamic> ? metadata}) -
factory
-
CashBackPayload.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount → Amount
-
Required
Amount the user has to Payno setterinherited -
copyWith
→ $CashBackPayloadCopyWith<
CashBackPayload> -
no setterinherited
- expiryDate → int?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- merchantCashbackId → String
-
Required
string <= 64 charactersno setterinherited - merchantCashbackReversalId → String?
-
string <= 64 characters
no setterinherited
-
metadata
→ Map<
String, dynamic> ? -
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
- 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
- userAuthorizationId → String
-
Required
string <= 64 charactersno setterinherited - walletType → String?
-
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