tgbot-cpp
Loading...
Searching...
No Matches
TgBot::ShippingAddress Struct Reference

This object represents a shipping address. More...

#include <Types.h>

Public Types

using Ptr = std::shared_ptr<ShippingAddress>

Public Attributes

std::string countryCode { }
 Two-letter ISO 3166-1 alpha-2 country code.
std::string state { }
 State, if applicable.
std::string city { }
 City.
std::string streetLine1 { }
 First line for the address.
std::string streetLine2 { }
 Second line for the address.
std::string postCode { }
 Address post code.

Detailed Description

This object represents a shipping address.

Definition at line 13165 of file Types.h.

Member Typedef Documentation

◆ Ptr

using TgBot::ShippingAddress::Ptr = std::shared_ptr<ShippingAddress>

Definition at line 13166 of file Types.h.

Member Data Documentation

◆ city

std::string TgBot::ShippingAddress::city { }

City.

Definition at line 13181 of file Types.h.

◆ countryCode

std::string TgBot::ShippingAddress::countryCode { }

Two-letter ISO 3166-1 alpha-2 country code.

Definition at line 13171 of file Types.h.

◆ postCode

std::string TgBot::ShippingAddress::postCode { }

Address post code.

Definition at line 13196 of file Types.h.

◆ state

std::string TgBot::ShippingAddress::state { }

State, if applicable.

Definition at line 13176 of file Types.h.

◆ streetLine1

std::string TgBot::ShippingAddress::streetLine1 { }

First line for the address.

Definition at line 13186 of file Types.h.

◆ streetLine2

std::string TgBot::ShippingAddress::streetLine2 { }

Second line for the address.

Definition at line 13191 of file Types.h.


The documentation for this struct was generated from the following file: