Sage Intacct SDK for PHP
AbstractCustomerChargeCard Class Reference
Inheritance diagram for AbstractCustomerChargeCard:
AbstractFunction FunctionInterface CustomerChargeCardCreate CustomerChargeCardDelete CustomerChargeCardUpdate

Public Member Functions

 getRecordNo ()
 
 setRecordNo ($recordNo)
 
 getCustomerId ()
 
 setCustomerId ($customerId)
 
 getCardNumber ()
 
 setCardNumber ($cardNumber)
 
 getCardType ()
 
 setCardType ($cardType)
 
 getExpirationMonth ()
 
 setExpirationMonth ($expirationMonth)
 
 getExpirationYear ()
 
 setExpirationYear ($expirationYear)
 
 isActive ()
 
 setActive ($active)
 
 getDescription ()
 
 setDescription ($description)
 
 isDefaultCard ()
 
 setDefaultCard ($defaultCard)
 
 isBillToContactAddressUsedForVerification ()
 
 setBillToContactAddressUsedForVerification ($billToContactAddressUsedForVerification)
 
 getAddressLine1 ()
 
 setAddressLine1 ($addressLine1)
 
 getAddressLine2 ()
 
 setAddressLine2 ($addressLine2)
 
 getCity ()
 
 setCity ($city)
 
 getStateProvince ()
 
 setStateProvince ($stateProvince)
 
 getZipPostalCode ()
 
 setZipPostalCode ($zipPostalCode)
 
 getCountry ()
 
 setCountry ($country)
 
- Public Member Functions inherited from AbstractFunction
 getControlId ()
 
 setControlId (string $controlId='')
 
 __construct (string $controlId='')
 
 writeXml (XMLWriter &$xml)
 
 getControlId ()
 
 setControlId (string $controlId)
 
 writeXml (XMLWriter &$xml)
 

Data Fields

const CARD_TYPE_VISA = 'Visa'
 
const CARD_TYPE_MASTERCARD = 'Mastercard'
 
const CARD_TYPE_DISCOVER = 'Discover'
 
const CARD_TYPE_AMEX = 'American Express'
 
const CARD_TYPE_DINERSCLUB = 'Diners Club'
 
const CARD_TYPE_OTHER = 'Other Charge Card'
 

Protected Attributes

 $recordNo
 
 $customerId
 
 $cardNumber
 
 $cardType
 
 $expirationMonth
 
 $expirationYear
 
 $active
 
 $description
 
 $defaultCard
 
 $billToContactAddressUsedForVerification
 
 $addressLine1
 
 $addressLine2
 
 $city
 
 $stateProvince
 
 $zipPostalCode
 
 $country
 
- Protected Attributes inherited from AbstractFunction
 $controlId = ''
 

Member Function Documentation

◆ getAddressLine1()

getAddressLine1 ( )
Returns
string

◆ getAddressLine2()

getAddressLine2 ( )
Returns
string

◆ getCardNumber()

getCardNumber ( )
Returns
string

◆ getCardType()

getCardType ( )
Returns
string

◆ getCity()

getCity ( )
Returns
string

◆ getCountry()

getCountry ( )
Returns
string

◆ getCustomerId()

getCustomerId ( )
Returns
string

◆ getDescription()

getDescription ( )
Returns
string

◆ getExpirationMonth()

getExpirationMonth ( )
Returns
string

◆ getExpirationYear()

getExpirationYear ( )
Returns
string

◆ getRecordNo()

getRecordNo ( )
Returns
int|string

◆ getStateProvince()

getStateProvince ( )
Returns
string

◆ getZipPostalCode()

getZipPostalCode ( )
Returns
string

◆ isActive()

isActive ( )
Returns
bool

◆ isBillToContactAddressUsedForVerification()

isBillToContactAddressUsedForVerification ( )
Returns
bool

◆ isDefaultCard()

isDefaultCard ( )
Returns
bool

◆ setActive()

setActive (   $active)
Parameters
bool$active

◆ setAddressLine1()

setAddressLine1 (   $addressLine1)
Parameters
string$addressLine1

◆ setAddressLine2()

setAddressLine2 (   $addressLine2)
Parameters
string$addressLine2

◆ setBillToContactAddressUsedForVerification()

setBillToContactAddressUsedForVerification (   $billToContactAddressUsedForVerification)
Parameters
bool$billToContactAddressUsedForVerification

◆ setCardNumber()

setCardNumber (   $cardNumber)
Parameters
string$cardNumber

◆ setCardType()

setCardType (   $cardType)
Parameters
string$cardType

◆ setCity()

setCity (   $city)
Parameters
string$city

◆ setCountry()

setCountry (   $country)
Parameters
string$country

◆ setCustomerId()

setCustomerId (   $customerId)
Parameters
string$customerId

◆ setDefaultCard()

setDefaultCard (   $defaultCard)
Parameters
bool$defaultCard

◆ setDescription()

setDescription (   $description)
Parameters
string$description

◆ setExpirationMonth()

setExpirationMonth (   $expirationMonth)
Parameters
string$expirationMonth
Exceptions
InvalidArgumentException

◆ setExpirationYear()

setExpirationYear (   $expirationYear)
Parameters
string$expirationYear

◆ setRecordNo()

setRecordNo (   $recordNo)
Parameters
int | string$recordNo

◆ setStateProvince()

setStateProvince (   $stateProvince)
Parameters
string$stateProvince

◆ setZipPostalCode()

setZipPostalCode (   $zipPostalCode)
Parameters
string$zipPostalCode

Field Documentation

◆ $active

$active
protected

◆ $addressLine1

$addressLine1
protected

◆ $addressLine2

$addressLine2
protected

◆ $billToContactAddressUsedForVerification

$billToContactAddressUsedForVerification
protected

◆ $cardNumber

$cardNumber
protected

◆ $cardType

$cardType
protected

◆ $city

$city
protected

◆ $country

$country
protected

◆ $customerId

$customerId
protected

◆ $defaultCard

$defaultCard
protected

◆ $description

$description
protected

◆ $expirationMonth

$expirationMonth
protected

◆ $expirationYear

$expirationYear
protected

◆ $recordNo

$recordNo
protected

◆ $stateProvince

$stateProvince
protected

◆ $zipPostalCode

$zipPostalCode
protected

◆ CARD_TYPE_AMEX

const CARD_TYPE_AMEX = 'American Express'

◆ CARD_TYPE_DINERSCLUB

const CARD_TYPE_DINERSCLUB = 'Diners Club'

◆ CARD_TYPE_DISCOVER

const CARD_TYPE_DISCOVER = 'Discover'

◆ CARD_TYPE_MASTERCARD

const CARD_TYPE_MASTERCARD = 'Mastercard'

◆ CARD_TYPE_OTHER

const CARD_TYPE_OTHER = 'Other Charge Card'

◆ CARD_TYPE_VISA

const CARD_TYPE_VISA = 'Visa'