Class ByProjectKeyShippingMethodsMatchingCartRequestBuilder Properties Protected
Readonly
args args : { baseUri ?: string ; executeRequest : executeRequest ; pathArgs : { projectKey : string ; } ; } Type declaration Optional
base Uri ?: string path Args : { projectKey : string ; } Methods get get ( methodArgs ) : ApiRequest < ShippingMethodPagedQueryResponse > Parameters methodArgs : { headers ?: { [key : string ]: string | string [] ; } ; queryArgs : { cartId : string ; expand ?: string | string [] ; [key : string ]: QueryParam ; } ; } Optional
headers ?: { [key : string ]: string | string [] ; } [ key : string ]: string | string [] query Args : { cartId : string ; expand ?: string | string [] ; [key : string ]: QueryParam ; } cart Id : string Optional
expand ?: string | string [] head head ( methodArgs ) : ApiRequest < void > Parameters methodArgs : { headers ?: { [key : string ]: string | string [] ; } ; queryArgs : { cartId : string ; [key : string ]: QueryParam ; } ; } Optional
headers ?: { [key : string ]: string | string [] ; } [ key : string ]: string | string [] query Args : { cartId : string ; [key : string ]: QueryParam ; } Returns ApiRequest < void >
Retrieves all the ShippingMethods that can ship to the shipping address of the given Cart. Each ShippingMethod contains exactly one ShippingRate with the flag
isMatching
set totrue
. This ShippingRate is used when the ShippingMethod is added to the Cart.