AgentCASH.js – Customer InformationΒΆ

Available customer fields are outlined below:

var customer = {
    fullName: "Bob Agentson",
    companyName: "Fair Trade Fruits Ltd.",
    taxNumber: "GB999123499",
    email: null,
    phone: null,
    physicalAddress: {
        address1: "55 Regent Street",
        address2: null,
        city: "London",
        postalCode: "W1J OTR",
        state: "London",
        country: "GB"
    },
    postalAddress: {
        address1: "287 Oxford Street",
        address2: null,
        city: "London",
        postalCode: "W1C 2DP",
        state: "London",
        country: "GB"
    }
};