PHP Class Pantheon\Terminus\Collections\PaymentMethods

Inheritance: extends UserOwnedCollection
Show file Open project: pantheon-systems/terminus Class Usage Examples

Protected Properties

Property Type Description
$collected_class string
$url string

Public Methods

Method Description
get ( string $id ) : PaymentMethod Retrieves a payment method object by either its UUID or its label

Method Details

get() public method

Retrieves a payment method object by either its UUID or its label
public get ( string $id ) : PaymentMethod
$id string The identifier for the payment method requested
return PaymentMethod

Property Details

$collected_class protected property

protected string $collected_class
return string

$url protected property

protected string $url
return string