PHP Class XeroPHP\Models\PayrollUS\Employee\PaymentMethod

Inheritance: extends XeroPHP\Remote\Object
Afficher le fichier Open project: calcinai/xero-php

Méthodes publiques

Méthode 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 méthode

public addBankAccount ( BankAccount $value ) : PaymentMethod
$value BankAccount
Résultat PaymentMethod

getAPIStem() public static méthode

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

getBankAccounts() public méthode

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

getGUIDProperty() public static méthode

Get the guid property
public static getGUIDProperty ( ) : string
Résultat string

getPaymentMethodType() public méthode

public getPaymentMethodType ( ) : string
Résultat string

getProperties() public static méthode

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
Résultat array

getResourceURI() public static méthode

Get the resource uri of the class (Contacts) etc
public static getResourceURI ( ) : string
Résultat string

getRootNodeName() public static méthode

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

getSupportedMethods() public static méthode

Get the supported methods
public static getSupportedMethods ( )

isPageable() public static méthode

public static isPageable ( )

setPaymentMethodType() public méthode

public setPaymentMethodType ( string $value ) : PaymentMethod
$value string
Résultat PaymentMethod