CustomerCreate
class CustomerCreate extends AbstractCustomer
Create a new customer record
Traits
Constants
| RESTRICTION_TYPE_UNRESTRICTED |
|
| RESTRICTION_TYPE_TOPLEVEL |
|
| RESTRICTION_TYPE_RESTRICTED |
|
Methods
Initializes the class with the given parameters.
Set secondary email address
Set excluded from contact list
Set sales representative employee ID
Set offset AR GL account number
Set default revenue GL account number
Set contact tax group name
Set default invoice message
Get print option AR invoice template name
Set print option AR invoice template name
Get print option OE quote template name
Set print option OE quote template name
Get print option OE order template name
Set print option OE order template name
Get print option OE list template name
Set print option OE list template name
Get print option OE invoice template name
Set print option OE invoice template name
Get print option OE adjustment template name
Set print option OE adjustment template name
Get print option OE other template name
Set print option OE other template name
Set restricted departments
Details
in AbstractFunction at line line 35
getControlId()
Get control ID
in AbstractFunction at line line 46
setControlId($controlId = null)
Set control ID
in AbstractFunction at line line 67
__construct(string $controlId = null)
Initializes the class with the given parameters.
at line line 35
writeXml(XMLWriter $xml)
Write the function block XML
in CustomFieldsTrait at line line 33
array
getCustomFields()
Get custom fields
in CustomFieldsTrait at line line 43
setCustomFields(array $customFields)
Set custom fields
in AbstractCustomer at line line 225
string
getCustomerId()
Get customer ID
in AbstractCustomer at line line 235
setCustomerId(string $customerId)
Set customer ID
in AbstractCustomer at line line 245
string
getCustomerName()
Get customer name
in AbstractCustomer at line line 255
setCustomerName(string $customerName)
Set customer name
in AbstractCustomer at line line 265
boolean
isOneTime()
Get one time
in AbstractCustomer at line line 275
setOneTime(boolean $oneTime)
Set one time
in AbstractCustomer at line line 285
boolean
isActive()
Get active
in AbstractCustomer at line line 295
setActive(boolean $active)
Set active
in AbstractCustomer at line line 305
string
getLastName()
Get last name
in AbstractCustomer at line line 315
setLastName(string $lastName)
Set last name
in AbstractCustomer at line line 325
string
getFirstName()
Get first name
in AbstractCustomer at line line 335
setFirstName(string $firstName)
Set first name
in AbstractCustomer at line line 345
string
getMiddleName()
Get middle name
in AbstractCustomer at line line 355
setMiddleName(string $middleName)
Set middle name
in AbstractCustomer at line line 365
string
getPrefix()
Get prefix
in AbstractCustomer at line line 375
setPrefix(string $prefix)
Set prefix
in AbstractCustomer at line line 385
string
getCompanyName()
Get company name
in AbstractCustomer at line line 395
setCompanyName(string $companyName)
Set company name
in AbstractCustomer at line line 405
string
getPrintAs()
Get print as
in AbstractCustomer at line line 415
setPrintAs(string $printAs)
Set print as
in AbstractCustomer at line line 425
string
getPrimaryPhoneNo()
Get primary phone number
in AbstractCustomer at line line 435
setPrimaryPhoneNo(string $primaryPhoneNo)
Set primary phone number
in AbstractCustomer at line line 445
string
getSecondaryPhoneNo()
Get secondary phone number
in AbstractCustomer at line line 455
setSecondaryPhoneNo(string $secondaryPhoneNo)
Set secondary phone number
in AbstractCustomer at line line 465
string
getCellularPhoneNo()
Get cellular phone number
in AbstractCustomer at line line 475
setCellularPhoneNo(string $cellularPhoneNo)
Set cellular phone number
in AbstractCustomer at line line 485
string
getPagerNo()
Get pager number
in AbstractCustomer at line line 495
setPagerNo(string $pagerNo)
Set pager number
in AbstractCustomer at line line 505
string
getFaxNo()
Get fax number
in AbstractCustomer at line line 515
setFaxNo(string $faxNo)
Set fax number
in AbstractCustomer at line line 525
string
getPrimaryEmailAddress()
Get primary email address
in AbstractCustomer at line line 535
setPrimaryEmailAddress(string $primaryEmailAddress)
Set primary email address
in AbstractCustomer at line line 548
string
getSecondaryEmailAddress()
Get secondary email address
in AbstractCustomer at line line 558
setSecondaryEmailAddress(string $secondaryEmailAddress)
Set secondary email address
in AbstractCustomer at line line 571
string
getPrimaryUrl()
Get primary URL
in AbstractCustomer at line line 581
setPrimaryUrl(string $primaryUrl)
Set primary URL
in AbstractCustomer at line line 591
string
getSecondaryUrl()
Get secondary URL
in AbstractCustomer at line line 601
setSecondaryUrl(string $secondaryUrl)
Set secondary URL
in AbstractCustomer at line line 611
string
getAddressLine1()
Get address line 1
in AbstractCustomer at line line 621
setAddressLine1(string $addressLine1)
Set address line 1
in AbstractCustomer at line line 631
string
getAddressLine2()
Get address line 2
in AbstractCustomer at line line 641
setAddressLine2(string $addressLine2)
Set address line 2
in AbstractCustomer at line line 651
string
getCity()
Get city
in AbstractCustomer at line line 661
setCity(string $city)
Set city
in AbstractCustomer at line line 671
string
getStateProvince()
Get state/province
in AbstractCustomer at line line 681
setStateProvince(string $stateProvince)
Set state/province
in AbstractCustomer at line line 691
string
getZipPostalCode()
Get zip/postal code
in AbstractCustomer at line line 701
setZipPostalCode(string $zipPostalCode)
Set zip/postal code
in AbstractCustomer at line line 711
string
getCountry()
Get country
in AbstractCustomer at line line 721
setCountry(string $country)
Set country
in AbstractCustomer at line line 731
boolean
isExcludedFromContactList()
Get excluded from contact list
in AbstractCustomer at line line 741
setExcludedFromContactList(boolean $excludedFromContactList)
Set excluded from contact list
in AbstractCustomer at line line 751
string
getCustomerTypeId()
Get customer type ID
in AbstractCustomer at line line 761
setCustomerTypeId(string $customerTypeId)
Set customer type ID
in AbstractCustomer at line line 771
string
getSalesRepEmployeeId()
Get sales representative employee ID
in AbstractCustomer at line line 781
setSalesRepEmployeeId(string $salesRepEmployeeId)
Set sales representative employee ID
in AbstractCustomer at line line 791
string
getParentCustomerId()
Get parent customer ID
in AbstractCustomer at line line 801
setParentCustomerId(string $parentCustomerId)
Set parent customer ID
in AbstractCustomer at line line 811
string
getGlGroupName()
Get GL group name
in AbstractCustomer at line line 821
setGlGroupName(string $glGroupName)
Set GL group name
in AbstractCustomer at line line 831
string
getTerritoryId()
Get territory ID
in AbstractCustomer at line line 841
setTerritoryId(string $territoryId)
Set territory ID
in AbstractCustomer at line line 851
string
getAttachmentsId()
Get attachments ID
in AbstractCustomer at line line 861
setAttachmentsId(string $attachmentsId)
Set attachments ID
in AbstractCustomer at line line 871
string
getPaymentTerm()
Get payment term
in AbstractCustomer at line line 881
setPaymentTerm(string $paymentTerm)
Set payment term
in AbstractCustomer at line line 891
string
getOffsetArGlAccountNo()
Get offset AR GL account number
in AbstractCustomer at line line 901
setOffsetArGlAccountNo(string $offsetArGlAccountNo)
Set offset AR GL account number
in AbstractCustomer at line line 910
string
getDefaultRevenueGlAccountNo()
Get default revenue GL account number
in AbstractCustomer at line line 920
setDefaultRevenueGlAccountNo(string $defaultRevenueGlAccountNo)
Set default revenue GL account number
in AbstractCustomer at line line 930
string
getShippingMethod()
Get shipping method
in AbstractCustomer at line line 940
setShippingMethod(string $shippingMethod)
Set shipping method
in AbstractCustomer at line line 950
string
getResaleNumber()
Get resale number
in AbstractCustomer at line line 960
setResaleNumber(string $resaleNumber)
Set resale number
in AbstractCustomer at line line 970
boolean
isTaxable()
Get taxable
in AbstractCustomer at line line 980
setTaxable(boolean $taxable)
Set taxable
in AbstractCustomer at line line 990
string
getContactTaxGroupName()
Get contact tax group name
in AbstractCustomer at line line 1000
setContactTaxGroupName(string $contactTaxGroupName)
Set contact tax group name
in AbstractCustomer at line line 1010
string
getTaxId()
Get tax ID
in AbstractCustomer at line line 1020
setTaxId(string $taxId)
Set tax ID
in AbstractCustomer at line line 1030
boolean
isOnHold()
Get on hold
in AbstractCustomer at line line 1040
setOnHold(boolean $onHold)
Set on hold
in AbstractCustomer at line line 1050
float|int|string
getCreditLimit()
Get credit limit
in AbstractCustomer at line line 1060
setCreditLimit(float|int|string $creditLimit)
Set credit limit
in AbstractCustomer at line line 1070
string|string[]
getDeliveryMethod()
Get delivery method
in AbstractCustomer at line line 1080
setDeliveryMethod(string|string[] $deliveryMethod)
Set delivery method
in AbstractCustomer at line line 1090
string
getDefaultInvoiceMessage()
Get default invoice message
in AbstractCustomer at line line 1100
setDefaultInvoiceMessage(string $defaultInvoiceMessage)
Set default invoice message
in AbstractCustomer at line line 1110
string
getComments()
Get comments
in AbstractCustomer at line line 1120
setComments(string $comments)
Set comments
in AbstractCustomer at line line 1130
string
getDefaultCurrency()
Get default currency
in AbstractCustomer at line line 1140
setDefaultCurrency(string $defaultCurrency)
Set default currency
in AbstractCustomer at line line 1150
string
getPrintOptionArInvoiceTemplateName()
Get print option AR invoice template name
in AbstractCustomer at line line 1160
setPrintOptionArInvoiceTemplateName(string $printOptionArInvoiceTemplateName)
Set print option AR invoice template name
in AbstractCustomer at line line 1172
string
getPrintOptionOeQuoteTemplateName()
Get print option OE quote template name
in AbstractCustomer at line line 1182
setPrintOptionOeQuoteTemplateName(string $printOptionOeQuoteTemplateName)
Set print option OE quote template name
in AbstractCustomer at line line 1193
string
getPrintOptionOeOrderTemplateName()
Get print option OE order template name
in AbstractCustomer at line line 1203
setPrintOptionOeOrderTemplateName(string $printOptionOeOrderTemplateName)
Set print option OE order template name
in AbstractCustomer at line line 1214
string
getPrintOptionOeListTemplateName()
Get print option OE list template name
in AbstractCustomer at line line 1224
setPrintOptionOeListTemplateName(string $printOptionOeListTemplateName)
Set print option OE list template name
in AbstractCustomer at line line 1235
string
getPrintOptionOeInvoiceTemplateName()
Get print option OE invoice template name
in AbstractCustomer at line line 1245
setPrintOptionOeInvoiceTemplateName(string $printOptionOeInvoiceTemplateName)
Set print option OE invoice template name
in AbstractCustomer at line line 1257
string
getPrintOptionOeAdjustmentTemplateName()
Get print option OE adjustment template name
in AbstractCustomer at line line 1267
setPrintOptionOeAdjustmentTemplateName(string $printOptionOeAdjustmentTemplateName)
Set print option OE adjustment template name
in AbstractCustomer at line line 1278
string
getPrintOptionOeOtherTemplateName()
Get print option OE other template name
in AbstractCustomer at line line 1288
setPrintOptionOeOtherTemplateName(string $printOptionOeOtherTemplateName)
Set print option OE other template name
in AbstractCustomer at line line 1299
string
getPrimaryContactName()
Get primary contact name
in AbstractCustomer at line line 1309
setPrimaryContactName(string $primaryContactName)
Set primary contact name
in AbstractCustomer at line line 1319
string
getBillToContactName()
Get bill to contact name
in AbstractCustomer at line line 1329
setBillToContactName(string $billToContactName)
Set bill to contact name
in AbstractCustomer at line line 1339
string
getShipToContactName()
Get ship to contact name
in AbstractCustomer at line line 1349
setShipToContactName(string $shipToContactName)
Set ship to contact name
in AbstractCustomer at line line 1359
string
getRestrictionType()
Get restriction type
in AbstractCustomer at line line 1369
setRestrictionType(string $restrictionType)
Set restriction type
in AbstractCustomer at line line 1387
array
getRestrictedLocations()
Get restricted locations
in AbstractCustomer at line line 1397
setRestrictedLocations(array $restrictedLocations)
Set restricted locations
in AbstractCustomer at line line 1407
array
getRestrictedDepartments()
Get restricted departments
in AbstractCustomer at line line 1417
setRestrictedDepartments(array $restrictedDepartments)
Set restricted departments