wallee
Version:
TypeScript/JavaScript client for wallee
40 lines (39 loc) • 1.31 kB
TypeScript
/**
*
* @export
* @interface RestCountryState
*/
export interface RestCountryState {
/**
* The state's code used within addresses.
* @type {string}
* @memberof RestCountryState
*/
readonly code?: string;
/**
* The two-letter code of the state's country (ISO 3166-1 alpha-2 format).
* @type {string}
* @memberof RestCountryState
*/
readonly countryCode?: string;
/**
* The name of the state.
* @type {string}
* @memberof RestCountryState
*/
readonly name?: string;
/**
* The state's code in ISO 3166-2 format.
* @type {string}
* @memberof RestCountryState
*/
readonly id?: string;
}
/**
* Check if a given object implements the RestCountryState interface.
*/
export declare function instanceOfRestCountryState(value: object): value is RestCountryState;
export declare function RestCountryStateFromJSON(json: any): RestCountryState;
export declare function RestCountryStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): RestCountryState;
export declare function RestCountryStateToJSON(json: any): RestCountryState;
export declare function RestCountryStateToJSONTyped(value?: Omit<RestCountryState, 'code' | 'countryCode' | 'name' | 'id'> | null, ignoreDiscriminator?: boolean): any;