PHP Класс XeroPHP\Models\PayrollUS\Employee\PaymentMethod

Наследование: extends XeroPHP\Remote\Object
Показать файл Открыть проект

Открытые методы

Метод Описание
addBankAccount ( BankAccount $value ) : PaymentMethod
getAPIStem ( ) : string | null Get the stem of the API (core.xro) etc
getBankAccounts ( ) : BankAccount[] | Collection
getGUIDProperty ( ) : string Get the guid property
getPaymentMethodType ( ) : string
getProperties ( ) : array Get the properties of the object. Indexed by constants [0] - Mandatory [1] - Type [2] - PHP type [3] - Is an Array [4] - Saves directly
getResourceURI ( ) : string Get the resource uri of the class (Contacts) etc
getRootNodeName ( ) : string Get the root node name. Just the unqualified classname
getSupportedMethods ( ) Get the supported methods
isPageable ( )
setPaymentMethodType ( string $value ) : PaymentMethod

Описание методов

addBankAccount() публичный Метод

public addBankAccount ( BankAccount $value ) : PaymentMethod
$value BankAccount
Результат PaymentMethod

getAPIStem() публичный статический Метод

Get the stem of the API (core.xro) etc
public static getAPIStem ( ) : string | null
Результат string | null

getBankAccounts() публичный Метод

public getBankAccounts ( ) : BankAccount[] | Collection
Результат BankAccount[] | Collection Always returns a collection, switch is for type hinting

getGUIDProperty() публичный статический Метод

Get the guid property
public static getGUIDProperty ( ) : string
Результат string

getPaymentMethodType() публичный Метод

public getPaymentMethodType ( ) : string
Результат string

getProperties() публичный статический Метод

Get the properties of the object. Indexed by constants [0] - Mandatory [1] - Type [2] - PHP type [3] - Is an Array [4] - Saves directly
public static getProperties ( ) : array
Результат array

getResourceURI() публичный статический Метод

Get the resource uri of the class (Contacts) etc
public static getResourceURI ( ) : string
Результат string

getRootNodeName() публичный статический Метод

Get the root node name. Just the unqualified classname
public static getRootNodeName ( ) : string
Результат string

getSupportedMethods() публичный статический Метод

Get the supported methods
public static getSupportedMethods ( )

isPageable() публичный статический Метод

public static isPageable ( )

setPaymentMethodType() публичный Метод

public setPaymentMethodType ( string $value ) : PaymentMethod
$value string
Результат PaymentMethod