Sage Intacct SDK for PHP
CustomerCreate Class Reference
Inheritance diagram for CustomerCreate:
AbstractCustomer AbstractFunction FunctionInterface

Public Member Functions

 writeXml (XMLWriter &$xml)
 
- Public Member Functions inherited from AbstractCustomer
 getRecordNo ()
 
 setRecordNo ($recordNo)
 
 getCustomerId ()
 
 setCustomerId ($customerId)
 
 getCustomerName ()
 
 setCustomerName ($customerName)
 
 isOneTime ()
 
 setOneTime ($oneTime)
 
 isActive ()
 
 setActive ($active)
 
 getLastName ()
 
 setLastName ($lastName)
 
 getFirstName ()
 
 setFirstName ($firstName)
 
 getMiddleName ()
 
 setMiddleName ($middleName)
 
 getPrefix ()
 
 setPrefix ($prefix)
 
 getCompanyName ()
 
 setCompanyName ($companyName)
 
 getPrintAs ()
 
 setPrintAs ($printAs)
 
 getPrimaryPhoneNo ()
 
 setPrimaryPhoneNo ($primaryPhoneNo)
 
 getSecondaryPhoneNo ()
 
 setSecondaryPhoneNo ($secondaryPhoneNo)
 
 getCellularPhoneNo ()
 
 setCellularPhoneNo ($cellularPhoneNo)
 
 getPagerNo ()
 
 setPagerNo ($pagerNo)
 
 getFaxNo ()
 
 setFaxNo ($faxNo)
 
 getPrimaryEmailAddress ()
 
 setPrimaryEmailAddress ($primaryEmailAddress)
 
 getSecondaryEmailAddress ()
 
 setSecondaryEmailAddress ($secondaryEmailAddress)
 
 getPrimaryUrl ()
 
 setPrimaryUrl ($primaryUrl)
 
 getSecondaryUrl ()
 
 setSecondaryUrl ($secondaryUrl)
 
 getAddressLine1 ()
 
 setAddressLine1 ($addressLine1)
 
 getAddressLine2 ()
 
 setAddressLine2 ($addressLine2)
 
 getCity ()
 
 setCity ($city)
 
 getStateProvince ()
 
 setStateProvince ($stateProvince)
 
 getZipPostalCode ()
 
 setZipPostalCode ($zipPostalCode)
 
 getCountry ()
 
 setCountry ($country)
 
 getIsoCountryCode ()
 
 setIsoCountryCode ($isoCountryCode)
 
 isExcludedFromContactList ()
 
 setExcludedFromContactList ($excludedFromContactList)
 
 getCustomerTypeId ()
 
 setCustomerTypeId ($customerTypeId)
 
 getSalesRepEmployeeId ()
 
 setSalesRepEmployeeId ($salesRepEmployeeId)
 
 getParentCustomerId ()
 
 setParentCustomerId ($parentCustomerId)
 
 getGlGroupName ()
 
 setGlGroupName ($glGroupName)
 
 getTerritoryId ()
 
 setTerritoryId ($territoryId)
 
 getAttachmentsId ()
 
 setAttachmentsId ($attachmentsId)
 
 getPaymentTerm ()
 
 setPaymentTerm ($paymentTerm)
 
 getOffsetArGlAccountNo ()
 
 setOffsetArGlAccountNo ($offsetArGlAccountNo)
 
 getDefaultRevenueGlAccountNo ()
 
 setDefaultRevenueGlAccountNo ($defaultRevenueGlAccountNo)
 
 getShippingMethod ()
 
 setShippingMethod ($shippingMethod)
 
 getResaleNumber ()
 
 setResaleNumber ($resaleNumber)
 
 isTaxable ()
 
 setTaxable ($taxable)
 
 getContactTaxGroupName ()
 
 setContactTaxGroupName ($contactTaxGroupName)
 
 getTaxId ()
 
 setTaxId ($taxId)
 
 isOnHold ()
 
 setOnHold ($onHold)
 
 getCreditLimit ()
 
 setCreditLimit ($creditLimit)
 
 getDeliveryMethod ()
 
 setDeliveryMethod ($deliveryMethod)
 
 getDefaultInvoiceMessage ()
 
 setDefaultInvoiceMessage ($defaultInvoiceMessage)
 
 getComments ()
 
 setComments ($comments)
 
 getDefaultCurrency ()
 
 setDefaultCurrency ($defaultCurrency)
 
 getPrintOptionArInvoiceTemplateName ()
 
 setPrintOptionArInvoiceTemplateName ( $printOptionArInvoiceTemplateName)
 
 getPrintOptionOeQuoteTemplateName ()
 
 setPrintOptionOeQuoteTemplateName ( $printOptionOeQuoteTemplateName)
 
 getPrintOptionOeOrderTemplateName ()
 
 setPrintOptionOeOrderTemplateName ( $printOptionOeOrderTemplateName)
 
 getPrintOptionOeListTemplateName ()
 
 setPrintOptionOeListTemplateName ( $printOptionOeListTemplateName)
 
 getPrintOptionOeInvoiceTemplateName ()
 
 setPrintOptionOeInvoiceTemplateName ( $printOptionOeInvoiceTemplateName)
 
 getPrintOptionOeAdjustmentTemplateName ()
 
 setPrintOptionOeAdjustmentTemplateName ( $printOptionOeAdjustmentTemplateName)
 
 getPrintOptionOeOtherTemplateName ()
 
 setPrintOptionOeOtherTemplateName ( $printOptionOeOtherTemplateName)
 
 getPrimaryContactName ()
 
 setPrimaryContactName ($primaryContactName)
 
 getBillToContactName ()
 
 setBillToContactName ($billToContactName)
 
 getShipToContactName ()
 
 setShipToContactName ($shipToContactName)
 
 getRestrictionType ()
 
 setRestrictionType ($restrictionType)
 
 getRestrictedLocations ()
 
 setRestrictedLocations ($restrictedLocations)
 
 getRestrictedDepartments ()
 
 setRestrictedDepartments ($restrictedDepartments)
 
 writeXmlMailAddress (XMLWriter &$xml)
 
- Public Member Functions inherited from AbstractFunction
 getControlId ()
 
 setControlId (string $controlId='')
 
 __construct (string $controlId='')
 
 writeXml (XMLWriter &$xml)
 
 getControlId ()
 
 setControlId (string $controlId)
 
 writeXml (XMLWriter &$xml)
 

Additional Inherited Members

- Data Fields inherited from AbstractCustomer
const RESTRICTION_TYPE_UNRESTRICTED = 'Unrestricted'
 
const RESTRICTION_TYPE_TOPLEVEL = 'RootOnly'
 
const RESTRICTION_TYPE_RESTRICTED = 'Restricted'
 
- Protected Attributes inherited from AbstractCustomer
 $recordNo
 
 $customerId
 
 $customerName
 
 $oneTime
 
 $active
 
 $lastName
 
 $firstName
 
 $middleName
 
 $prefix
 
 $companyName
 
 $printAs
 
 $primaryPhoneNo
 
 $secondaryPhoneNo
 
 $cellularPhoneNo
 
 $pagerNo
 
 $faxNo
 
 $primaryEmailAddress
 
 $secondaryEmailAddress
 
 $primaryUrl
 
 $secondaryUrl
 
 $addressLine1
 
 $addressLine2
 
 $city
 
 $stateProvince
 
 $zipPostalCode
 
 $country
 
 $isoCountryCode
 
 $excludedFromContactList
 
 $customerTypeId
 
 $salesRepEmployeeId
 
 $parentCustomerId
 
 $glGroupName
 
 $territoryId
 
 $attachmentsId
 
 $paymentTerm
 
 $offsetArGlAccountNo
 
 $defaultRevenueGlAccountNo
 
 $shippingMethod
 
 $resaleNumber
 
 $taxable
 
 $contactTaxGroupName
 
 $taxId
 
 $creditLimit
 
 $onHold
 
 $deliveryMethod
 
 $defaultInvoiceMessage
 
 $comments
 
 $defaultCurrency
 
 $printOptionArInvoiceTemplateName
 
 $printOptionOeQuoteTemplateName
 
 $printOptionOeOrderTemplateName
 
 $printOptionOeListTemplateName
 
 $printOptionOeInvoiceTemplateName
 
 $printOptionOeAdjustmentTemplateName
 
 $printOptionOeOtherTemplateName
 
 $primaryContactName
 
 $billToContactName
 
 $shipToContactName
 
 $restrictionType
 
 $restrictedLocations = []
 
 $restrictedDepartments = []
 
- Protected Attributes inherited from AbstractFunction
 $controlId = ''
 

Detailed Description

Create a new customer record

Member Function Documentation

◆ writeXml()

writeXml ( XMLWriter $xml)

Write the function block XML

Parameters
XMLWriter$xml
Exceptions
InvalidArgumentException

Reimplemented from AbstractFunction.