bloombox / bloombox.client.services.shop / ShopClient / checkZipcode

checkZipcode

fun checkZipcode(zipcode: String, callback: ZipcheckCallback?, err: ShopErrorCallback?, context: ShopContext = ShopContext.defaultContext()): ListenableFuture<Response> (source)

Fetch information about a given U.S. zipcode, with regard to storefront sales, asynchronously. The resulting info contains support status for delivery to the subject zipcode, and any delivery minimum subtotal value, if specified. "NOT_FOUND", or 404 when operating over HTTP, is interpreted to mean the zipcode is not supported.

fun checkZipcode(zipcode: String, context: ShopContext = ShopContext.defaultContext()): Response (source)

Fetch information about a given U.S. zipcode, with regard to storefront sales. The resulting info contains support status for delivery to the subject zipcode, and any delivery minimum subtotal value, if specified. "NOT_FOUND", or 404 when operating over HTTP, is interpreted to mean the zipcode is not supported.