Home > @vsf-enterprise/sap-commerce-webservices-sdk > AddressApiFp
AddressApiFp variable
AddressApi - functional programming interface
Signature:
AddressApiFp: (configuration?: Configuration) => {
createAddress(baseSiteId: string, userId: string, address: Address, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Address>>;
getAddress(addressId: string, baseSiteId: string, userId: string, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Address>>;
getAddresses(baseSiteId: string, userId: string, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressList>>;
removeAddress(addressId: string, baseSiteId: string, userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
replaceAddress(addressId: string, baseSiteId: string, userId: string, address: Address, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
updateAddress(addressId: string, baseSiteId: string, userId: string, address: Address, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
validateAddress(baseSiteId: string, userId: string, address: Address, fields?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressValidation>>;
}