Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Pantheon
Terminus
Commands
PaymentMethod
AddCommand
PHP Class Pantheon\Terminus\Commands\PaymentMethod\AddCommand
Inheritance:
extends
Pantheon\Terminus\Commands\TerminusCommand
,
implements
Pantheon\Terminus\Site\SiteAwareInterface
,
use trait
Pantheon\Terminus\Site\SiteAwareTrait
Exibir arquivo
Open project: pantheon-systems/terminus
Public Methods
Method
Description
add
(
string
$site_name
,
string
$payment_method
)
Apply a payment method attached to your account to the given site
Method Details
add()
public
method
Apply a payment method attached to your account to the given site
public
add
(
string
$site_name
,
string
$payment_method
)
$site_name
string
The name or UUID of the site to attach a payment method to
$payment_method
string
The label or UUID of the payment method to apply to the site