ItemDetailLine class abstract

ItemDetailLine

Properties:

  • commodityCode - The code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes: * UNSPSC commodity codes * HS commodity codes * NAICS commodity codes * NAPCS commodity codes * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces. * Must not be all zeros.
  • description - A description of the item, that provides details about the purchase. For Visa transactions with level 3 ESD, the description must not be the same or very similar to your merchant name, or, consist only of common words like "product", or "service". * Encoding: ASCII * Max length: 26 characters * Must not be a single character. * Must not be blank. * Must not be all special characters. * Must not start with a space or be all spaces. * Must not be all zeros.
  • discountAmount - The discount amount, in minor units. * For example, 2000 means USD 20.00. * Encoding: Numeric * Max value: 10000000000
  • productCode - The product code. Must be a unique product code associated with the item or service. This can be your unique code for the item, or the manufacturer's product code. * Encoding: ASCII. * Max length: 12 characters
  • quantity - The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max value: 9999
  • totalAmount - The total amount for the line item, in minor units. * For example, 2000 means USD 20.00. * Encoding: Numeric * Max value: 10000000000 See Amount requirements for level 2/3 ESD to learn more about how to calculate the line item total.
  • unitOfMeasure - The unit of measurement for an item. * Encoding: ASCII * Max length: 3 characters
  • unitPrice - The unit price, in minor units. * For example, 2000 means USD 20.00. * Encoding: Numeric * Max value: 10000000000
Annotations
  • @BuiltValue.new()

Constructors

ItemDetailLine([void updates(ItemDetailLineBuilder b)])
factory

Properties

commodityCode String?
The code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes: * UNSPSC commodity codes * HS commodity codes * NAICS commodity codes * NAPCS commodity codes * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces. * Must not be all zeros.
no setter
description String?
A description of the item, that provides details about the purchase. For Visa transactions with level 3 ESD, the description must not be the same or very similar to your merchant name, or, consist only of common words like "product", or "service". * Encoding: ASCII * Max length: 26 characters * Must not be a single character. * Must not be blank. * Must not be all special characters. * Must not start with a space or be all spaces. * Must not be all zeros.
no setter
discountAmount int?
The discount amount, in minor units. * For example, 2000 means USD 20.00. * Encoding: Numeric * Max value: 10000000000
no setter
hashCode int
The hash code for this object.
no setterinherited
productCode String?
The product code. Must be a unique product code associated with the item or service. This can be your unique code for the item, or the manufacturer's product code. * Encoding: ASCII. * Max length: 12 characters
no setter
quantity int?
The number of items. Must be an integer greater than zero. * Encoding: Numeric * Max value: 9999
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalAmount int?
The total amount for the line item, in minor units. * For example, 2000 means USD 20.00. * Encoding: Numeric * Max value: 10000000000 See Amount requirements for level 2/3 ESD to learn more about how to calculate the line item total.
no setter
unitOfMeasure String?
The unit of measurement for an item. * Encoding: ASCII * Max length: 3 characters
no setter
unitPrice int?
The unit price, in minor units. * For example, 2000 means USD 20.00. * Encoding: Numeric * Max value: 10000000000
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(ItemDetailLineBuilder)) ItemDetailLine
Rebuilds the instance.
inherited
toBuilder() ItemDetailLineBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<ItemDetailLine>
no setter