JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "PreApprovalPlanListResult.php"

Full Path: /var/www/laravel_filter/vendor/mercadopago/dx-php/src/MercadoPago/Resources/PreApprovalPlan/PreApprovalPlanListResult.php
File size: 1.32 KB
MIME-type: text/x-php
Charset: utf-8

<?php

namespace MercadoPago\Resources\PreApprovalPlan;

use MercadoPago\Serialization\Mapper;

/** PreApprovalPlanListResult class. */
class PreApprovalPlanListResult
{
    /** Class mapper. */
    use Mapper;

    /** Subscription ID. */
    public ?string $id;

    /** Return URL. */
    public ?string $back_url;

    /** Collector ID. */
    public ?int $collector_id;

    /** Application ID. */
    public ?int $application_id;

    /** Reason for the subscription. */
    public ?string $reason;

    /** Subscription status. */
    public ?string $status;

    /** Date of creation. */
    public ?string $date_created;

    /** Date of last modification. */
    public ?string $last_modified;

    /** Initial point. */
    public ?string $init_point;

    /** Auto-recurring subscription details. */
    public ?object $auto_recurring;

    /** Allowed payment methods. */
    public array|object|null $payment_methods_allowed;

    /** Subscribed. */
    public ?int $subscribed;


    public $map = [
        "auto_recurring" => "MercadoPago\Resources\PreApprovalPlan\AutoRecurring",
        "payment_methods_allowed" => "MercadoPago\Resources\PreApprovalPlan\PaymentMethodsAllowed",
    ];

    /**
     * Method responsible for getting map of entities.
     */
    public function getMap(): array
    {
        return $this->map;
    }
}