Sage Intacct SDK for PHP
VendorUpdate Class Reference
Inheritance diagram for VendorUpdate:
AbstractVendor AbstractFunction FunctionInterface

Public Member Functions

 writeXml (XMLWriter &$xml)
 
- Public Member Functions inherited from AbstractVendor
 getVendorId ()
 
 setVendorId ($vendorId)
 
 getVendorName ()
 
 setVendorName ($vendorName)
 
 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)
 
 getVendorTypeId ()
 
 setVendorTypeId ($vendorTypeId)
 
 getParentVendorId ()
 
 setParentVendorId ($parentVendorId)
 
 getGlGroupName ()
 
 setGlGroupName ($glGroupName)
 
 getTaxId ()
 
 setTaxId ($taxId)
 
 getForm1099Name ()
 
 setForm1099Name ($form1099Name)
 
 getForm1099Type ()
 
 setForm1099Type ($form1099Type)
 
 getForm1099Box ()
 
 setForm1099Box ($form1099Box)
 
 getAttachmentsId ()
 
 setAttachmentsId ($attachmentsId)
 
 getDefaultExpenseGlAccountNo ()
 
 setDefaultExpenseGlAccountNo ($defaultExpenseGlAccountNo)
 
 isTaxable ()
 
 setTaxable ($taxable)
 
 getContactTaxGroupName ()
 
 setContactTaxGroupName ($contactTaxGroupName)
 
 getCreditLimit ()
 
 setCreditLimit ($creditLimit)
 
 isOnHold ()
 
 setOnHold ($onHold)
 
 isDoNotPay ()
 
 setDoNotPay ($doNotPay)
 
 getComments ()
 
 setComments ($comments)
 
 getDefaultCurrency ()
 
 setDefaultCurrency ($defaultCurrency)
 
 getPrimaryContactName ()
 
 setPrimaryContactName ($primaryContactName)
 
 getPayToContactName ()
 
 setPayToContactName ($payToContactName)
 
 getReturnToContactName ()
 
 setReturnToContactName ($returnToContactName)
 
 getPreferredPaymentMethod ()
 
 setPreferredPaymentMethod ($preferredPaymentMethod)
 
 isSendAutomaticPaymentNotification ()
 
 setSendAutomaticPaymentNotification ($sendAutomaticPaymentNotification)
 
 isMergePaymentRequests ()
 
 setMergePaymentRequests ($mergePaymentRequests)
 
 getVendorBillingType ()
 
 setVendorBillingType ($vendorBillingType)
 
 getPaymentPriority ()
 
 setPaymentPriority ($paymentPriority)
 
 getPaymentTerm ()
 
 setPaymentTerm ($paymentTerm)
 
 isTermDiscountDisplayedOnCheckStub ()
 
 setTermDiscountDisplayedOnCheckStub ($termDiscountDisplayedOnCheckStub)
 
 isAchEnabled ()
 
 setAchEnabled ($achEnabled)
 
 getAchBankRoutingNo ()
 
 setAchBankRoutingNo ($achBankRoutingNo)
 
 getAchBankAccountNo ()
 
 setAchBankAccountNo ($achBankAccountNo)
 
 getAchBankAccountType ()
 
 setAchBankAccountType ($achBankAccountType)
 
 getAchBankAccountClass ()
 
 setAchBankAccountClass ($achBankAccountClass)
 
 getVendorAccountNo ()
 
 setVendorAccountNo ($vendorAccountNo)
 
 isLocationAssignedAccountNoDisplayedOnCheckStub ()
 
 setLocationAssignedAccountNoDisplayedOnCheckStub ($locationAssignedAccountNoDisplayedOnCheckStub)
 
 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='')
 

Additional Inherited Members

- Data Fields inherited from AbstractVendor
const RESTRICTION_TYPE_UNRESTRICTED = 'Unrestricted'
 
const RESTRICTION_TYPE_TOPLEVEL = 'RootOnly'
 
const RESTRICTION_TYPE_RESTRICTED = 'Restricted'
 
- Protected Attributes inherited from AbstractVendor
 $vendorId
 
 $vendorName
 
 $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
 
 $vendorTypeId
 
 $parentVendorId
 
 $glGroupName
 
 $taxId
 
 $form1099Name
 
 $form1099Type
 
 $form1099Box
 
 $attachmentsId
 
 $defaultExpenseGlAccountNo
 
 $taxable
 
 $contactTaxGroupName
 
 $creditLimit
 
 $onHold
 
 $doNotPay
 
 $comments
 
 $defaultCurrency
 
 $primaryContactName
 
 $payToContactName
 
 $returnToContactName
 
 $preferredPaymentMethod
 
 $sendAutomaticPaymentNotification
 
 $mergePaymentRequests
 
 $vendorBillingType
 
 $paymentPriority
 
 $paymentTerm
 
 $termDiscountDisplayedOnCheckStub
 
 $achEnabled
 
 $achBankRoutingNo
 
 $achBankAccountNo
 
 $achBankAccountType
 
 $achBankAccountClass
 
 $vendorAccountNo
 
 $locationAssignedAccountNoDisplayedOnCheckStub
 
 $restrictionType
 
 $restrictedLocations = []
 
 $restrictedDepartments = []
 
- Protected Attributes inherited from AbstractFunction
 $controlId = ''
 

Detailed Description

Update an existing vendor record

Member Function Documentation

◆ writeXml()

writeXml ( XMLWriter $xml)

Write the function block XML

Parameters
XMLWriter$xml
Exceptions
InvalidArgumentException

Reimplemented from AbstractFunction.