Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
billing_agreement.php File Reference

Go to the source code of this file.

Variables

 $billingAgreement
 

Variable Documentation

◆ $billingAgreement

$billingAgreement
Initial value:
\Magento\Paypal\Model\Billing\Agreement::class
)->setAgreementLabel(
'TEST'
)->setCustomerId(
1
)->setMethodCode(
'paypal_express'
)->setReferenceId(
'REF-ID-TEST-678'
)->setStatus(
Magento\Paypal\Model\Billing\Agreement::STATUS_ACTIVE
)->setStoreId(
1
)->save()

Definition at line 7 of file billing_agreement.php.