Browse: Home /

Namespace: Stripe

Collection::last()

Method: Gets the last item from the current page. Returns `null` if the current page is empty.

OrderReturn

Class: A return represents the full or partial return of a number of order items. Returns always belong to an order, and may optionally contain a refund.

CustomerBalanceTransaction

Class: Each customer has a balance value, which denotes a debit or credit that’s automatically applied to their next invoice upon finalization. You may modify the value directly by using the update customer API, or by creating a Customer Balance Transaction, which increments or decrements the customer’s balance by the specified amount.

Balance

Class: This is an object representing your Stripe balance. You can retrieve it to see the balance currently on your Stripe account.

PromotionCode

Class: A Promotion Code represents a customer-redeemable code for a coupon. It can be used to create multiple codes for a single coupon.

Collection::emptyCollection()

Method: Returns an empty collection. This is returned from {@see nextPage()} when we know that there isn’t a next page in order to replicate the behavior of the API when it attempts to return a page beyond the last.

UsageRecord

Class: Usage records allow you to report customer usage and metrics to Stripe for metered billing of subscription prices.