GramIO API Reference / @gramio/contexts/dist / ShippingAddress
Class: ShippingAddress
Defined in: contexts/index.d.ts:2573
This object represents a shipping address.
Constructors
Constructor
new ShippingAddress(
payload):ShippingAddress
Defined in: contexts/index.d.ts:2575
Parameters
| Parameter | Type |
|---|---|
payload | TelegramShippingAddress |
Returns
ShippingAddress
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramShippingAddress | contexts/index.d.ts:2574 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:2577
Returns
string
city
Get Signature
get city():
string
Defined in: contexts/index.d.ts:2583
City
Returns
string
countryCode
Get Signature
get countryCode():
string
Defined in: contexts/index.d.ts:2579
ISO 3166-1 alpha-2 country code
Returns
string
firstStreetLine
Get Signature
get firstStreetLine():
string
Defined in: contexts/index.d.ts:2585
First line for the address
Returns
string
postCode
Get Signature
get postCode():
string
Defined in: contexts/index.d.ts:2589
Address post code
Returns
string
secondStreetLine
Get Signature
get secondStreetLine():
string
Defined in: contexts/index.d.ts:2587
Second line for the address
Returns
string
state
Get Signature
get state():
string
Defined in: contexts/index.d.ts:2581
State, if applicable
Returns
string