/
home
/
techb158
/
dev.balacoffee.com
/
vendor
/
stripe
/
stripe-php
/
lib
/
Service
/
/home/techb158/dev.balacoffee.com/vendor/stripe/stripe-php/lib/Service
mkdir
upload
Name
Size
Mode
Actions
BillingPortal/
-
0755
rm
Checkout/
-
0755
rm
FinancialConnections/
-
0755
rm
Identity/
-
0755
rm
Issuing/
-
0755
rm
Radar/
-
0755
rm
Reporting/
-
0755
rm
Sigma/
-
0755
rm
Terminal/
-
0755
rm
TestHelpers/
-
0755
rm
AbstractService.php
2795
0644
edit
dl
rm
AbstractServiceFactory.php
1476
0644
edit
dl
rm
AccountLinkService.php
718
0644
edit
dl
rm
AccountService.php
13638
0644
edit
dl
rm
ApplePayDomainService.php
1981
0644
edit
dl
rm
ApplicationFeeService.php
4778
0644
edit
dl
rm
BalanceService.php
781
0644
edit
dl
rm
BalanceTransactionService.php
1578
0644
edit
dl
rm
ChargeService.php
4566
0644
edit
dl
rm
CoreServiceFactory.php
6093
0644
edit
dl
rm
CountrySpecService.php
1106
0644
edit
dl
rm
CouponService.php
3692
0644
edit
dl
rm
CreditNoteService.php
5671
0644
edit
dl
rm
CustomerService.php
16284
0644
edit
dl
rm
DisputeService.php
2881
0644
edit
dl
rm
EphemeralKeyService.php
1289
0644
edit
dl
rm
EventService.php
1439
0644
edit
dl
rm
ExchangeRateService.php
1265
0644
edit
dl
rm
FileLinkService.php
1994
0644
edit
dl
rm
FileService.php
2105
0644
edit
dl
rm
InvoiceItemService.php
3051
0644
edit
dl
rm
InvoiceService.php
11668
0644
edit
dl
rm
MandateService.php
604
0644
edit
dl
rm
OAuthService.php
4859
0644
edit
dl
rm
OrderReturnService.php
1377
0644
edit
dl
rm
OrderService.php
3541
0644
edit
dl
rm
PaymentIntentService.php
12041
0644
edit
dl
rm
PaymentLinkService.php
2682
0644
edit
dl
rm
PaymentMethodService.php
4913
0644
edit
dl
rm
PayoutService.php
4690
0644
edit
dl
rm
PlanService.php
2776
0644
edit
dl
rm
PriceService.php
2974
0644
edit
dl
rm
ProductService.php
3892
0644
edit
dl
rm
PromotionCodeService.php
2412
0644
edit
dl
rm
QuoteService.php
5876
0644
edit
dl
rm
RefundService.php
3018
0644
edit
dl
rm
ReviewService.php
1789
0644
edit
dl
rm
SetupAttemptService.php
633
0644
edit
dl
rm
SetupIntentService.php
5008
0644
edit
dl
rm
ShippingRateService.php
2016
0644
edit
dl
rm
SkuService.php
2994
0644
edit
dl
rm
SourceService.php
3493
0644
edit
dl
rm
SubscriptionItemService.php
5876
0644
edit
dl
rm
SubscriptionScheduleService.php
4029
0644
edit
dl
rm
SubscriptionService.php
6151
0644
edit
dl
rm
TaxCodeService.php
1293
0644
edit
dl
rm
TaxRateService.php
2043
0644
edit
dl
rm
TokenService.php
1254
0644
edit
dl
rm
TopupService.php
2643
0644
edit
dl
rm
TransferService.php
6382
0644
edit
dl
rm
WebhookEndpointService.php
3389
0644
edit
dl
rm
Edit:
/home/techb158/dev.balacoffee.com/vendor/stripe/stripe-php/lib/Service/CreditNoteService.php
(5671B)
<?php // File generated from our OpenAPI spec namespace Stripe\Service; class CreditNoteService extends \Stripe\Service\AbstractService { /** * Returns a list of credit notes. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\CreditNote> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/credit_notes', $params, $opts); } /** * When retrieving a credit note, you’ll get a <strong>lines</strong> property * containing the the first handful of those items. There is also a URL where you * can retrieve the full (paginated) list of line items. * * @param string $parentId * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\CreditNoteLineItem> */ public function allLines($parentId, $params = null, $opts = null) { return $this->requestCollection('get', $this->buildPath('/v1/credit_notes/%s/lines', $parentId), $params, $opts); } /** * Issue a credit note to adjust the amount of a finalized invoice. For a * <code>status=open</code> invoice, a credit note reduces its * <code>amount_due</code>. For a <code>status=paid</code> invoice, a credit note * does not affect its <code>amount_due</code>. Instead, it can result in any * combination of the following:. * * <ul> <li>Refund: create a new refund (using <code>refund_amount</code>) or link * an existing refund (using <code>refund</code>).</li> <li>Customer balance * credit: credit the customer’s balance (using <code>credit_amount</code>) which * will be automatically applied to their next invoice when it’s finalized.</li> * <li>Outside of Stripe credit: record the amount that is or will be credited * outside of Stripe (using <code>out_of_band_amount</code>).</li> </ul> * * For post-payment credit notes the sum of the refund, credit and outside of * Stripe amounts must equal the credit note total. * * You may issue multiple credit notes for an invoice. Each credit note will * increment the invoice’s <code>pre_payment_credit_notes_amount</code> or * <code>post_payment_credit_notes_amount</code> depending on its * <code>status</code> at the time of credit note creation. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\CreditNote */ public function create($params = null, $opts = null) { return $this->request('post', '/v1/credit_notes', $params, $opts); } /** * Get a preview of a credit note without creating it. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\CreditNote */ public function preview($params = null, $opts = null) { return $this->request('get', '/v1/credit_notes/preview', $params, $opts); } /** * When retrieving a credit note preview, you’ll get a <strong>lines</strong> * property containing the first handful of those items. This URL you can retrieve * the full (paginated) list of line items. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\CreditNote> */ public function previewLines($params = null, $opts = null) { return $this->requestCollection('get', '/v1/credit_notes/preview/lines', $params, $opts); } /** * Retrieves the credit note object with the given identifier. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\CreditNote */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/credit_notes/%s', $id), $params, $opts); } /** * Updates an existing credit note. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\CreditNote */ public function update($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/credit_notes/%s', $id), $params, $opts); } /** * Marks a credit note as void. Learn more about <a * href="/docs/billing/invoices/credit-notes#voiding">voiding credit notes</a>. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\CreditNote */ public function voidCreditNote($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/credit_notes/%s/void', $id), $params, $opts); } }
Save
cmd:
run