UNPKG

card-management-sdk

Version:

The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S

68 lines (67 loc) 2.06 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema'; export interface UpdateCardRenewalAddress2 { /** * Contact name * Note: Mandatory when ‘UseCustomerDefaultAddress’ is set to ‘false’. The field is ignored otherwise. * Max Length: 50 */ contactName: string; /** * Title * Max Length: 50 */ contactTitle?: string; /** * Company name. * Note: Mandatory when ‘UseCustomerDefaultAddress’ is set to ‘false’. The field is ignored otherwise. * Max Length: 50 */ companyName: string; /** * Address line 1,2 and 3 * Note: Mandatory when ‘UseCustomerDefaultAddress’ is set to ‘false’. The field is ignored otherwise. * Max Length: 128 * Note: -Each address line should be separated by “\r\n”. */ addressLine: string; /** * ZipCode * Note: Mandatory when ‘UseCustomerDefaultAddress’ is set to ‘false’. The field is ignored otherwise. * Max Length: 10 */ zipCode: string; /** * City * Note: Mandatory when ‘UseCustomerDefaultAddress’ is set to ‘false’. The field is ignored otherwise. * Max Length: 40 */ city?: string; /** Region id of card. */ regionID?: number; /** * Country ID * Note: Mandatory when ‘UseCustomerDefaultAddress’ is set to ‘false’. The field is ignored otherwise. */ countryID: number; /** * Email Address * Max Length: 90 * Note: - * Based on the international standard that there can be * • Max Length 64 before the @ (the 'Local part’) =64(minimum of 1) * • Max Lenth after the (the domain) = 88 (Minimum of 2) */ emailAddress?: string; /** * Phone number * Optional * Max Length: 16 */ phoneNumber?: string; } export declare const updateCardRenewalAddress2Schema: Schema<UpdateCardRenewalAddress2>;