Service/CouponService.php

stripe-php · lib/Service/CouponService.php · php · MIT
payments

Stripe API client for managing coupons via CRUD operations.

// Source: https://github.com/stripe/stripe-php | License: MIT | Copyright 2010-2019 Stripe, Inc. (https://stripe.com)
// Provided via justclaw.it.com; keep this notice with the code.
<?php

// File generated from our OpenAPI spec

namespace Stripe\Service;

/**
 * @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
 *
 * @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
 */
class CouponService extends AbstractService
{
    /**
     * Returns a list of your coupons.
     *
     * @param null|array{created?: array{gt?: int, gte?: int, lt?: int, lte?: int}|int, ending_before?: string, expand?: string[], limit?: int, starting_after?: string} $params
     * @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
     *
     * @return \Strip

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key