Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
srmklive
/
paypal
/
src
/
Traits
/
PayPalAPI
/
BillingPlans
Location:
/home/zoteqbgb/public_html/vendor/srmklive/paypal/src/Traits/PayPalAPI/BillingPlans
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: PricingSchemes.php
<?php namespace Srmklive\PayPal\Traits\PayPalAPI\BillingPlans; use Throwable; trait PricingSchemes { protected $pricing_schemes = []; /** * Add pricing scheme for the billing plan. * * @param string $interval_unit * @param int $interval_count * @param float $price * @param bool $trial * * @throws Throwable * * @return \Srmklive\PayPal\Services\PayPal */ public function addPricingScheme(string $interval_unit, int $interval_count, float $price, bool $trial = false): \Srmklive\PayPal\Services\PayPal { $this->pricing_schemes[] = $this->addPlanBillingCycle($interval_unit, $interval_count, $price, $trial); return $this; } /** * Process pricing updates for an existing billing plan. * * @throws \Throwable * * @return array|\Psr\Http\Message\StreamInterface|string */ public function processBillingPlanPricingUpdates() { return $this->updatePlanPricing($this->billing_plan['id'], $this->pricing_schemes); } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
PricingSchemes.php
1,067 bytes
0644
2025-02-26 02:38
âï¸
ðï¸
Rename
Chang
Apply