Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@stpriyanka
Created March 2, 2017 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stpriyanka/354b63eaedd050a80d30d2f5d5d512e2 to your computer and use it in GitHub Desktop.
Save stpriyanka/354b63eaedd050a80d30d2f5d5d512e2 to your computer and use it in GitHub Desktop.
Create a customer
public void CreateCustomer()
{
var model = new CustomerStructure()
{
CustomerNo = 2,
CustomerName = "Some name",
CustomerCompanyType = "individual",
CustomerOrganizationNo = "",
CustomerVatNo = "",
CustomerContact = new CustomerContact()
{
CustomerContactName = "Customer Contact Name",
CustomerContactEmail = "any valid email",
CustomerContactPhone = "000000000",
}
};
CustomerStructure result = _billogramUtility.CreateCustomer(model).Result;
// .....
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment