Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 2.58 KB

accountaddresseditresponse.md

File metadata and controls

40 lines (35 loc) · 2.58 KB

AccountAddressEditResponse

Example Usage

import { CountryCode } from "@boltpay/bolt-typescript-sdk/models/components";
import { AccountAddressEditResponse } from "@boltpay/bolt-typescript-sdk/models/operations";

let value: AccountAddressEditResponse = {
  contentType: "<value>",
  statusCode: 412,
  rawResponse: new Response("{\"message\": \"hello world\"}", {
    headers: { "Content-Type": "application/json" },
  }),
  addressListing: {
    id: "D4g3h5tBuVYK9",
    firstName: "Alice",
    lastName: "Baker",
    company: "ACME Corporation",
    streetAddress1: "535 Mission St, Ste 1401",
    streetAddress2: "c/o Shipping Department",
    locality: "San Francisco",
    postalCode: "94105",
    region: "CA",
    countryCode: CountryCode.Us,
    email: "[email protected]",
    phone: "+14155550199",
    isDefault: true,
  },
};

Fields

Field Type Required Description
contentType string ✔️ HTTP response content type for this operation
statusCode number ✔️ HTTP response status code for this operation
rawResponse Response ✔️ Raw HTTP response; suitable for custom response parsing
addressListing components.AddressListing The address was successfully edited