menu
square_connect package
documentation
square_connect.dart
OrderEntry class
OrderEntry class
dark_mode
light_mode
OrderEntry
class
Annotations
@JsonSerializable()
Constructors
OrderEntry
({
String
?
orderId
,
String
?
locationId
,
int
?
version
})
const
OrderEntry.fromJson
(
Map
<
String
,
dynamic
>
json
)
Converts a
Map
to an
OrderEntry
factory
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
locationId
→
String
?
The location ID the order belongs to.
final
orderId
→
String
?
The ID of the order.
final
props
→
List
<
Object
?
>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
stringify
→
bool
?
If set to
true
, the
toString
method will be overridden to output this instance's
props
.
no setter
inherited
version
→
int
?
Read only The version number, which is incremented each time an update is committed to the order. Orders that were not created through the API do not include a version number and therefore cannot be updated.
final
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson
(
)
→
Map
<
String
,
dynamic
>
Converts a
OrderEntry
to a
Map
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
square_connect package
documentation
square_connect
OrderEntry class
square_connect library