PHP Class XeroPHP\Models\PayrollUS\Employee\PaymentMethod

Inheritance: extends XeroPHP\Remote\Object
Datei anzeigen Open project: calcinai/xero-php

Public Methods

Method Description
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

Method Details

addBankAccount() public method

public addBankAccount ( BankAccount $value ) : PaymentMethod
$value BankAccount
return PaymentMethod

getAPIStem() public static method

Get the stem of the API (core.xro) etc
public static getAPIStem ( ) : string | null
return string | null

getBankAccounts() public method

public getBankAccounts ( ) : BankAccount[] | Collection
return BankAccount[] | Collection Always returns a collection, switch is for type hinting

getGUIDProperty() public static method

Get the guid property
public static getGUIDProperty ( ) : string
return string

getPaymentMethodType() public method

public getPaymentMethodType ( ) : string
return string

getProperties() public static method

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
return array

getResourceURI() public static method

Get the resource uri of the class (Contacts) etc
public static getResourceURI ( ) : string
return string

getRootNodeName() public static method

Get the root node name. Just the unqualified classname
public static getRootNodeName ( ) : string
return string

getSupportedMethods() public static method

Get the supported methods
public static getSupportedMethods ( )

isPageable() public static method

public static isPageable ( )

setPaymentMethodType() public method

public setPaymentMethodType ( string $value ) : PaymentMethod
$value string
return PaymentMethod