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