Payment class

Implementers
Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

Payment({String? transactionUUID, int? transactionCode, String? transactionSignature, String? transactionDenom, String? transactionDescription, DateTime? transactionCreatedAt, DateTime? transactionUpdatedAt, String? leaf, String? currency, DateTime? createdAt, DateTime? updatedAt, String? status, int? statusCode, String? statusDenom, String? description, int? invoiceNumber, String? merchantOpId, String? terminalId, PaymentAmount? amount, List<PaymentItem>? items, List<PaymentLink>? links, double? commission, String? buyerIdentityCode, String? merchantUUID, String? merchantName, String? merchantAlias, String? merchantAvatar, String? refundedAmount, String? username, String? name, String? lastname, String? avatar, String? returnUrl, String? cancelUrl})
Payment.fromJson(Map<String, dynamic> json)
factory

Properties

amount PaymentAmount?
getter/setter pair
avatar String?
getter/setter pair
buyerIdentityCode String?
getter/setter pair
cancelUrl String?
getter/setter pair
commission double?
getter/setter pair
confirmationUrl String?
no setter
createdAt DateTime?
getter/setter pair
currency String?
getter/setter pair
description String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
invoiceNumber int?
getter/setter pair
items List<PaymentItem>?
getter/setter pair
lastname String?
getter/setter pair
leaf String?
getter/setter pair
getter/setter pair
merchantAlias String?
getter/setter pair
merchantAvatar String?
getter/setter pair
merchantName String?
getter/setter pair
merchantOpId String?
This is a number to identify the operation by a merchant. Useful for merchant business logic implementation to identify payments It must have exactly 12 digits
getter/setter pair
merchantUUID String?
getter/setter pair
name String?
getter/setter pair
refundedAmount String?
getter/setter pair
returnUrl String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
getter/setter pair
statusCode int?
getter/setter pair
statusDenom String?
getter/setter pair
terminalId String?
getter/setter pair
transactionCode int?
getter/setter pair
transactionCreatedAt DateTime?
getter/setter pair
transactionDenom String?
getter/setter pair
transactionDescription String?
getter/setter pair
transactionSignature String?
getter/setter pair
transactionUpdatedAt DateTime?
getter/setter pair
transactionUUID String?
getter/setter pair
updatedAt DateTime?
getter/setter pair
username String?
getter/setter pair

Methods

fromJsonList(List? jsonList) List<Payment>?
inherited
fromJsonMap(Map<String, dynamic>? json) Payment?
fromJsonString(String? json) Payment?
inherited
fromJsonStringList(String? jsonStringList) List<Payment>?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonMap() Map<String, dynamic>
inherited
toJsonString() String
inherited
toString() String
This is just to suggest children to implement a named constructor to support creating objects fromJson(...) and fromJsonString(...) as easy as T.build().fromJson(...) or T.build().fromJsonString(...)
inherited

Operators

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