<?php
/*
 * MundiAPILib
 *
 * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
 */

namespace MundiAPILib\Models;

use JsonSerializable;

/**
 *Request for updating a Subscription Affiliation Id
 */
class UpdateSubscriptionAffiliationIdRequest implements JsonSerializable
{
    /**
     * @todo Write general description for this property
     * @required
     * @maps gateway_affiliation_id
     * @var string $gatewayAffiliationId public property
     */
    public $gatewayAffiliationId;

    /**
     * Constructor to set initial or default values of member properties
     * @param string $gatewayAffiliationId Initialization value for $this->gatewayAffiliationId
     */
    public function __construct()
    {
        if (1 == func_num_args()) {
            $this->gatewayAffiliationId = func_get_arg(0);
        }
    }


    /**
     * Encode this object to JSON
     */
    public function jsonSerialize()
    {
        $json = array();
        $json['gateway_affiliation_id'] = $this->gatewayAffiliationId;

        return $json;
    }
}
