InvoiceDetails class

Dart wrapper around `InvoiceDetails` in (https://developer.samsung.com/smarttv/develop/api-references/samsung-product-api-references/billing-api.html).

Defines a dictionary for the GetUserPurchaseListAPIResult dictionary 'InvoiceDetails' parameter. This only can be used in GetUserPurchaseListAPIResult.

Annotations

Constructors

InvoiceDetails({required int seq, required String invoiceId, required String itemId, required String itemTitle, required ItemType itemType, required String orderTime, required num price, required String orderCurrencyId, required bool appliedStatus, required bool cancelStatus, String? appliedTime, int? period, String? limitEndTime, String? remainTime})
Creates a InvoiceDetails with the given purchase details.
const
InvoiceDetails.fromJson(Map<String, dynamic> json)
Constructs an instance of this from a json string.
factory

Properties

appliedStatus bool
Product application status: "true": Applied "false": Not applied
final
appliedTime String?
Time product applied, in 14-digit UTC time
final
cancelStatus bool
Cancellation status: "true": Sale canceled "false" : Sale ongoing
final
hashCode int
The hash code for this object.
no setterinherited
invoiceId String
Invoice ID of this purchase history.
final
itemId String
The ID of product.
final
itemTitle String
The name of product.
final
itemType ItemType
The type of product.
final
limitEndTime String?
Limited period product end time, in 14-digit UTC time
final
orderCurrencyId String
Currency code.
final
orderTime String
Payment time, in 14-digit UTC time.
final
period int?
Limited period product duration, in minutes.
final
price num
Product price, in "xxxx.yy" format.
final
remainTime String?
Limited period product time remaining, in seconds
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seq int
Sequence number (1 ~ TotalCount).
final

Methods

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

Operators

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