Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AddressPayload

This AddressPayload interface will show us the structure of how we store addresses for a user. Example structure:

 export interface AddressPayload {
first_name: string;
last_name: string;
phone: string;
identity_document: string;
lat: number;
lng: number;
address1: string;
address2: string;
city: string;
zipcode: string;
state_name: string;
state_code: string;
country: string;
address_type: string;
additional_description: string;
is_default: boolean;
is_billing_address: boolean;
}

Hierarchy

  • AddressPayload

Index

Properties

additional_description: string
address1: string
address2: string
address_type: string
city: string
country: string
first_name: string
identity_document: string
is_billing_address: boolean
is_default: boolean
last_name: string
lat: number
lng: number
phone: string
state_code: string
state_name: string
zipcode: string

Generated using TypeDoc