ok

Mini Shell

Direktori : /home2/selectio/www/billingsoftwarenew/core/vendor/mollie/mollie-api-php/src/Resources/
Upload File :
Current File : /home2/selectio/www/billingsoftwarenew/core/vendor/mollie/mollie-api-php/src/Resources/Method.php

<?php

namespace Mollie\Api\Resources;

class Method extends BaseResource
{
    /**
     * Id of the payment method.
     *
     * @var string
     */
    public $id;

    /**
     * More legible description of the payment method.
     *
     * @var string
     */
    public $description;

    /**
     * An object containing value and currency. It represents the minimum payment amount required to use this
     * payment method.
     *
     * @var \stdClass
     */
    public $minimumAmount;

    /**
     * An object containing value and currency. It represents the maximum payment amount allowed when using this
     * payment method.
     *
     * @var \stdClass
     */
    public $maximumAmount;

    /**
     * The $image->size1x and $image->size2x to display the payment method logo.
     *
     * @var \stdClass
     */
    public $image;

    /**
     * The issuers available for this payment method. Only for the methods iDEAL, KBC/CBC and gift cards.
     * Will only be filled when explicitly requested using the query string `include` parameter.
     *
     * @var array|object[]
     */
    public $issuers;

    /**
     * The pricing for this payment method. Will only be filled when explicitly requested using the query string
     * `include` parameter.
     *
     * @var array|object[]
     */
    public $pricing;

    /**
     * The activation status the method is in.
     * If the method has status "null", this value will be returned as a null value, not as a string.
     *
     * @var string | null
     */
    public $status;

    /**
     * @var \stdClass
     */
    public $_links;

    /**
     *
     * @var string
     */
    public $resource;

    /**
     * Get the issuer value objects
     *
     * @return IssuerCollection
     */
    public function issuers()
    {
        return ResourceFactory::createBaseResourceCollection(
            $this->client,
            Issuer::class,
            $this->issuers
        );
    }

    /**
     * Get the method price value objects.
     *
     * @return MethodPriceCollection
     */
    public function pricing()
    {
        return ResourceFactory::createBaseResourceCollection(
            $this->client,
            MethodPrice::class,
            $this->pricing
        );
    }
}

Zerion Mini Shell 1.0