{"_id":"5632a5ea49e16d0d00122482","version":{"_id":"5632a5e549e16d0d00122443","__v":6,"project":"55b933b3146ef121002158d3","createdAt":"2015-10-29T23:04:05.701Z","releaseDate":"2015-10-29T23:04:05.701Z","categories":["5632a5e749e16d0d00122444","5632a5e749e16d0d00122445","5632a5e749e16d0d00122446","5632a5e749e16d0d00122447","5632a5e749e16d0d00122448","5632a5e749e16d0d00122449","5632a5e749e16d0d0012244a","5632a5e749e16d0d0012244b","5632a5e749e16d0d0012244c","5632a5e749e16d0d0012244d","5632a5e749e16d0d0012244e","5632a5e749e16d0d0012244f","5632a5e749e16d0d00122450","5632b179df556c0d00cd095b","564e13053b2b4a19000cd69b","59caa9df65accc001a489c95","59cab50965accc001a489d28","59cadd464ab7b70024378e74"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"project":"55b933b3146ef121002158d3","user":"55b932ba8fd1a02b00f496c8","__v":0,"githubsync":"","category":{"_id":"5632a5e749e16d0d0012244d","__v":1,"pages":["5632a5ea49e16d0d00122481","5632a5ea49e16d0d00122482","5632a5ea49e16d0d00122483","5632a5ea49e16d0d00122484","5632a5ea49e16d0d00122485","5632a5ea49e16d0d00122486","5632a5ea49e16d0d00122487","5632a5ea49e16d0d00122488","5632a5ea49e16d0d00122489","5632a5ea49e16d0d0012248a","5632a5ea49e16d0d0012248b","5632a5ea49e16d0d0012248c","5632a5ea49e16d0d0012248d","5632a5ea49e16d0d0012248e","5632a5ea49e16d0d0012248f","5632a5ea49e16d0d00122490","5632a5ea49e16d0d00122491","5632a5ea49e16d0d00122492","5632a5ea49e16d0d00122493","5632a5ea49e16d0d00122494","5632a5ea49e16d0d00122495","5632a5ea49e16d0d00122496","5632a5ea49e16d0d00122497","5632a5ea49e16d0d00122498","5632a5ea49e16d0d00122499","5632a5ea49e16d0d0012249a","5632a5ea49e16d0d0012249b","5632a5ea49e16d0d0012249c","5632a5ea49e16d0d0012249d","5632a5ea49e16d0d0012249e","5632a5ea49e16d0d0012249f","5632a5ea49e16d0d001224a0","5632a5ea49e16d0d001224a1","5632a5ea49e16d0d001224a2","5632a5ea49e16d0d001224a3","5632a5ea49e16d0d001224a4","5632a5ea49e16d0d001224a5","5632a5ea49e16d0d001224a6","5632a5ea49e16d0d001224a7"],"project":"55b933b3146ef121002158d3","version":"5632a5e549e16d0d00122443","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-04T17:34:02.800Z","from_sync":false,"order":12,"slug":"objects","title":"Objects"},"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-04T17:50:00.526Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"Contains customer contact information.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Description\"\n}\n[/block]\nThis object contains all customer contact information including telephone number, fax number and email address.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Properties\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Type\",\n    \"h-1\": \"Name\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"String\",\n    \"0-1\": \"FirstName\",\n    \"0-2\": \"Customer's First Name\",\n    \"1-0\": \"String\",\n    \"1-1\": \"LastName\",\n    \"1-2\": \"Customer's Last Name\",\n    \"2-0\": \"String\",\n    \"2-1\": \"Company\",\n    \"2-2\": \"Company or Organization Name\",\n    \"3-0\": \"String\",\n    \"3-1\": \"Street\",\n    \"3-2\": \"Street Address Line 1\",\n    \"4-0\": \"String\",\n    \"4-1\": \"Street2\",\n    \"4-2\": \"Street Address Line 2\",\n    \"5-0\": \"String\",\n    \"5-1\": \"City\",\n    \"5-2\": \"City\",\n    \"6-0\": \"String\",\n    \"6-1\": \"State\",\n    \"6-2\": \"State or Province\",\n    \"7-0\": \"String\",\n    \"7-1\": \"Zip\",\n    \"7-2\": \"Zip or Postal Code\",\n    \"8-0\": \"String\",\n    \"8-1\": \"Country\",\n    \"8-2\": \"Country\",\n    \"9-0\": \"String\",\n    \"9-1\": \"Phone\",\n    \"9-2\": \"Telephone Number\",\n    \"10-0\": \"String\",\n    \"10-1\": \"Fax\",\n    \"10-2\": \"Fax Number\",\n    \"11-0\": \"String\",\n    \"11-1\": \"Email\",\n    \"11-2\": \"Email Address\"\n  },\n  \"cols\": 3,\n  \"rows\": 12\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Examples\"\n}\n[/block]\n## PHP \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<?php\\n// for directions on how to set up the  \\n// WSDL link and create \\\"$token\\\" and \\\"$client,\\\"\\n// see: http://wiki.eBizCharge.com/developer/soap/howto/php\\n$Address=array(\\n 'City' => 'Los Angeles',\\n 'Company' => 'eBizCharge',\\n 'Country' => 'US',\\n 'Email' => 'support:::at:::eBizCharge.com',\\n 'FirstName' => 'PHP5',\\n 'LastName' => 'Example',\\n 'Phone' => '1-866-872-3729',\\n 'State' => 'CA',\\n 'Street' => '5500 Wilshire Blvd',\\n 'Street2' => 'suite 2700',\\n 'Zip' => '90036'\\n);\\n$Request=array(\\n 'AccountHolder' => 'Example Creator',\\n 'ClientIP' => '123.123.123.123',\\n 'CustomerID' => '123456',\\n 'Command' => 'Sale',\\n 'Details' => array(\\n       'Amount' => '29.00',\\n       'Clerk' => 'John Doe',\\n       'Currency' => '0',\\n       'Description' => 'Example for address object',\\n       'Discount' => '1.00',\\n       'Invoice' => '44539'),\\n 'BillingAddress' => $Address,\\n 'ShippingAddress' => $Address,\\n 'CreditCardData' => array(\\n       'CardNumber' => '4444555566667779',\\n       'CardExpiration' => '0909',\\n       'AvsStreet' => '1234 Main Street',\\n       'AvsZip' => '99281',\\n       'CardCode' => '999')\\n);\\n$Response=$this->client->runTransaction($this->token, $Request);\\n$TransactionObject=$this->client->getTransaction($this->token, $Response->RefNum);\\necho $TransactionObject->BillingAddress->City;\\n?>\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n## Visual Basic (.Net) \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"Dim address As eBizCharge.Address = New eBizCharge.Address\\n       address.FirstName = \\\"John\\\"\\n       address.LastName = \\\"Doe\\\"\\n       address.Company = \\\"Acme\\\"\\n       address.Street = \\\"123 main st.\\\"\\n       address.City = \\\"Hollywood\\\"\\n       address.State = \\\"ca\\\"\\n       address.Zip = \\\"91607\\\"\\n       address.Country = \\\"USA\\\"\\n       customer.BillingAddress = address\",\n      \"language\": \"c\"\n    }\n  ]\n}\n[/block]\n## C Sharp (.Net)\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"eBizCharge.CustomerObject customer = new eBizCharge.CustomerObject();\\n           eBizCharge.Address address = new eBizCharge.Address();\\n           address.FirstName = \\\"John\\\";\\n           address.LastName = \\\"Doe\\\";\\n           address.Company = \\\"Acme\\\";\\n           address.Street = \\\"123 main st.\\\";\\n           address.City = \\\"Hollywood\\\";\\n           address.State = \\\"ca\\\";\\n           address.Zip = \\\"91607\\\";\\n           address.Country = \\\"USA\\\";\\n           customer.BillingAddress = address;\",\n      \"language\": \"csharp\"\n    }\n  ]\n}\n[/block]\n## XML \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<BillingAddress xsi:type=\\\"ns1:Address\\\">\\n<City xsi:type=\\\"xsd:string\\\">Los Angeles</City>\\n<Company xsi:type=\\\"xsd:string\\\">eBizCharge</Company>\\n<Country xsi:type=\\\"xsd:string\\\">US</Country>\\n<Email xsi:type=\\\"xsd:string\\\">support@eBizCharge.com</Email>\\n<Fax xsi:type=\\\"xsd:string\\\"></Fax>\\n<FirstName xsi:type=\\\"xsd:string\\\">XML</FirstName>\\n<LastName xsi:type=\\\"xsd:string\\\">Example</LastName>\\n<Phone xsi:type=\\\"xsd:string\\\">1-866-872-3729</Phone>\\n<State xsi:type=\\\"xsd:string\\\">CA</State>\\n<Street xsi:type=\\\"xsd:string\\\">5500 Wilshire Blvd</Street>\\n<Street2 xsi:type=\\\"xsd:string\\\">suite 2700</Street2>\\n<Zip xsi:type=\\\"xsd:string\\\">90036</Zip>\\n</BillingAddress>\",\n      \"language\": \"xml\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"address","type":"basic","title":"Address"}
Contains customer contact information. [block:api-header] { "type": "basic", "title": "Description" } [/block] This object contains all customer contact information including telephone number, fax number and email address. [block:api-header] { "type": "basic", "title": "Properties" } [/block] [block:parameters] { "data": { "h-0": "Type", "h-1": "Name", "h-2": "Description", "0-0": "String", "0-1": "FirstName", "0-2": "Customer's First Name", "1-0": "String", "1-1": "LastName", "1-2": "Customer's Last Name", "2-0": "String", "2-1": "Company", "2-2": "Company or Organization Name", "3-0": "String", "3-1": "Street", "3-2": "Street Address Line 1", "4-0": "String", "4-1": "Street2", "4-2": "Street Address Line 2", "5-0": "String", "5-1": "City", "5-2": "City", "6-0": "String", "6-1": "State", "6-2": "State or Province", "7-0": "String", "7-1": "Zip", "7-2": "Zip or Postal Code", "8-0": "String", "8-1": "Country", "8-2": "Country", "9-0": "String", "9-1": "Phone", "9-2": "Telephone Number", "10-0": "String", "10-1": "Fax", "10-2": "Fax Number", "11-0": "String", "11-1": "Email", "11-2": "Email Address" }, "cols": 3, "rows": 12 } [/block] [block:api-header] { "type": "basic", "title": "Examples" } [/block] ## PHP [block:code] { "codes": [ { "code": "<?php\n// for directions on how to set up the \n// WSDL link and create \"$token\" and \"$client,\"\n// see: http://wiki.eBizCharge.com/developer/soap/howto/php\n$Address=array(\n 'City' => 'Los Angeles',\n 'Company' => 'eBizCharge',\n 'Country' => 'US',\n 'Email' => 'support@eBizCharge.com',\n 'FirstName' => 'PHP5',\n 'LastName' => 'Example',\n 'Phone' => '1-866-872-3729',\n 'State' => 'CA',\n 'Street' => '5500 Wilshire Blvd',\n 'Street2' => 'suite 2700',\n 'Zip' => '90036'\n);\n$Request=array(\n 'AccountHolder' => 'Example Creator',\n 'ClientIP' => '123.123.123.123',\n 'CustomerID' => '123456',\n 'Command' => 'Sale',\n 'Details' => array(\n 'Amount' => '29.00',\n 'Clerk' => 'John Doe',\n 'Currency' => '0',\n 'Description' => 'Example for address object',\n 'Discount' => '1.00',\n 'Invoice' => '44539'),\n 'BillingAddress' => $Address,\n 'ShippingAddress' => $Address,\n 'CreditCardData' => array(\n 'CardNumber' => '4444555566667779',\n 'CardExpiration' => '0909',\n 'AvsStreet' => '1234 Main Street',\n 'AvsZip' => '99281',\n 'CardCode' => '999')\n);\n$Response=$this->client->runTransaction($this->token, $Request);\n$TransactionObject=$this->client->getTransaction($this->token, $Response->RefNum);\necho $TransactionObject->BillingAddress->City;\n?>", "language": "php" } ] } [/block] ## Visual Basic (.Net) [block:code] { "codes": [ { "code": "Dim address As eBizCharge.Address = New eBizCharge.Address\n address.FirstName = \"John\"\n address.LastName = \"Doe\"\n address.Company = \"Acme\"\n address.Street = \"123 main st.\"\n address.City = \"Hollywood\"\n address.State = \"ca\"\n address.Zip = \"91607\"\n address.Country = \"USA\"\n customer.BillingAddress = address", "language": "c" } ] } [/block] ## C Sharp (.Net) [block:code] { "codes": [ { "code": "eBizCharge.CustomerObject customer = new eBizCharge.CustomerObject();\n eBizCharge.Address address = new eBizCharge.Address();\n address.FirstName = \"John\";\n address.LastName = \"Doe\";\n address.Company = \"Acme\";\n address.Street = \"123 main st.\";\n address.City = \"Hollywood\";\n address.State = \"ca\";\n address.Zip = \"91607\";\n address.Country = \"USA\";\n customer.BillingAddress = address;", "language": "csharp" } ] } [/block] ## XML [block:code] { "codes": [ { "code": "<BillingAddress xsi:type=\"ns1:Address\">\n<City xsi:type=\"xsd:string\">Los Angeles</City>\n<Company xsi:type=\"xsd:string\">eBizCharge</Company>\n<Country xsi:type=\"xsd:string\">US</Country>\n<Email xsi:type=\"xsd:string\">support@eBizCharge.com</Email>\n<Fax xsi:type=\"xsd:string\"></Fax>\n<FirstName xsi:type=\"xsd:string\">XML</FirstName>\n<LastName xsi:type=\"xsd:string\">Example</LastName>\n<Phone xsi:type=\"xsd:string\">1-866-872-3729</Phone>\n<State xsi:type=\"xsd:string\">CA</State>\n<Street xsi:type=\"xsd:string\">5500 Wilshire Blvd</Street>\n<Street2 xsi:type=\"xsd:string\">suite 2700</Street2>\n<Zip xsi:type=\"xsd:string\">90036</Zip>\n</BillingAddress>", "language": "xml" } ] } [/block]