docusign_esign.models.currency_feature_set_price

DocuSign REST API

The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501

OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git

  1# coding: utf-8
  2
  3"""
  4    DocuSign REST API
  5
  6    The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.  # noqa: E501
  7
  8    OpenAPI spec version: v2.1
  9    Contact: devcenter@docusign.com
 10    Generated by: https://github.com/swagger-api/swagger-codegen.git
 11"""
 12
 13
 14import pprint
 15import re  # noqa: F401
 16
 17import six
 18
 19from docusign_esign.client.configuration import Configuration
 20
 21
 22class CurrencyFeatureSetPrice(object):
 23    """NOTE: This class is auto generated by the swagger code generator program.
 24
 25    Do not edit the class manually.
 26    """
 27
 28    """
 29    Attributes:
 30      swagger_types (dict): The key is attribute name
 31                            and the value is attribute type.
 32      attribute_map (dict): The key is attribute name
 33                            and the value is json key in definition.
 34    """
 35    swagger_types = {
 36        'currency_code': 'str',
 37        'currency_symbol': 'str',
 38        'envelope_fee': 'str',
 39        'fixed_fee': 'str',
 40        'seat_fee': 'str'
 41    }
 42
 43    attribute_map = {
 44        'currency_code': 'currencyCode',
 45        'currency_symbol': 'currencySymbol',
 46        'envelope_fee': 'envelopeFee',
 47        'fixed_fee': 'fixedFee',
 48        'seat_fee': 'seatFee'
 49    }
 50
 51    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 52        """CurrencyFeatureSetPrice - a model defined in Swagger"""  # noqa: E501
 53        if _configuration is None:
 54            _configuration = Configuration()
 55        self._configuration = _configuration
 56
 57        self._currency_code = None
 58        self._currency_symbol = None
 59        self._envelope_fee = None
 60        self._fixed_fee = None
 61        self._seat_fee = None
 62        self.discriminator = None
 63
 64        setattr(self, "_{}".format('currency_code'), kwargs.get('currency_code', None))
 65        setattr(self, "_{}".format('currency_symbol'), kwargs.get('currency_symbol', None))
 66        setattr(self, "_{}".format('envelope_fee'), kwargs.get('envelope_fee', None))
 67        setattr(self, "_{}".format('fixed_fee'), kwargs.get('fixed_fee', None))
 68        setattr(self, "_{}".format('seat_fee'), kwargs.get('seat_fee', None))
 69
 70    @property
 71    def currency_code(self):
 72        """Gets the currency_code of this CurrencyFeatureSetPrice.  # noqa: E501
 73
 74        Specifies the alternate ISO currency code for the account.   # noqa: E501
 75
 76        :return: The currency_code of this CurrencyFeatureSetPrice.  # noqa: E501
 77        :rtype: str
 78        """
 79        return self._currency_code
 80
 81    @currency_code.setter
 82    def currency_code(self, currency_code):
 83        """Sets the currency_code of this CurrencyFeatureSetPrice.
 84
 85        Specifies the alternate ISO currency code for the account.   # noqa: E501
 86
 87        :param currency_code: The currency_code of this CurrencyFeatureSetPrice.  # noqa: E501
 88        :type: str
 89        """
 90
 91        self._currency_code = currency_code
 92
 93    @property
 94    def currency_symbol(self):
 95        """Gets the currency_symbol of this CurrencyFeatureSetPrice.  # noqa: E501
 96
 97        Specifies the alternate currency symbol for the account.  # noqa: E501
 98
 99        :return: The currency_symbol of this CurrencyFeatureSetPrice.  # noqa: E501
100        :rtype: str
101        """
102        return self._currency_symbol
103
104    @currency_symbol.setter
105    def currency_symbol(self, currency_symbol):
106        """Sets the currency_symbol of this CurrencyFeatureSetPrice.
107
108        Specifies the alternate currency symbol for the account.  # noqa: E501
109
110        :param currency_symbol: The currency_symbol of this CurrencyFeatureSetPrice.  # noqa: E501
111        :type: str
112        """
113
114        self._currency_symbol = currency_symbol
115
116    @property
117    def envelope_fee(self):
118        """Gets the envelope_fee of this CurrencyFeatureSetPrice.  # noqa: E501
119
120        An incremental envelope cost for plans with envelope overages (when `isEnabled` is set to **true**.)  # noqa: E501
121
122        :return: The envelope_fee of this CurrencyFeatureSetPrice.  # noqa: E501
123        :rtype: str
124        """
125        return self._envelope_fee
126
127    @envelope_fee.setter
128    def envelope_fee(self, envelope_fee):
129        """Sets the envelope_fee of this CurrencyFeatureSetPrice.
130
131        An incremental envelope cost for plans with envelope overages (when `isEnabled` is set to **true**.)  # noqa: E501
132
133        :param envelope_fee: The envelope_fee of this CurrencyFeatureSetPrice.  # noqa: E501
134        :type: str
135        """
136
137        self._envelope_fee = envelope_fee
138
139    @property
140    def fixed_fee(self):
141        """Gets the fixed_fee of this CurrencyFeatureSetPrice.  # noqa: E501
142
143        Specifies a one-time fee associated with the plan (when `isEnabled` is set to **true**.)  # noqa: E501
144
145        :return: The fixed_fee of this CurrencyFeatureSetPrice.  # noqa: E501
146        :rtype: str
147        """
148        return self._fixed_fee
149
150    @fixed_fee.setter
151    def fixed_fee(self, fixed_fee):
152        """Sets the fixed_fee of this CurrencyFeatureSetPrice.
153
154        Specifies a one-time fee associated with the plan (when `isEnabled` is set to **true**.)  # noqa: E501
155
156        :param fixed_fee: The fixed_fee of this CurrencyFeatureSetPrice.  # noqa: E501
157        :type: str
158        """
159
160        self._fixed_fee = fixed_fee
161
162    @property
163    def seat_fee(self):
164        """Gets the seat_fee of this CurrencyFeatureSetPrice.  # noqa: E501
165
166        Specifies an incremental seat cost for seat-based plans (when `isEnabled` is set to **true**.)  # noqa: E501
167
168        :return: The seat_fee of this CurrencyFeatureSetPrice.  # noqa: E501
169        :rtype: str
170        """
171        return self._seat_fee
172
173    @seat_fee.setter
174    def seat_fee(self, seat_fee):
175        """Sets the seat_fee of this CurrencyFeatureSetPrice.
176
177        Specifies an incremental seat cost for seat-based plans (when `isEnabled` is set to **true**.)  # noqa: E501
178
179        :param seat_fee: The seat_fee of this CurrencyFeatureSetPrice.  # noqa: E501
180        :type: str
181        """
182
183        self._seat_fee = seat_fee
184
185    def to_dict(self):
186        """Returns the model properties as a dict"""
187        result = {}
188
189        for attr, _ in six.iteritems(self.swagger_types):
190            value = getattr(self, attr)
191            if isinstance(value, list):
192                result[attr] = list(map(
193                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
194                    value
195                ))
196            elif hasattr(value, "to_dict"):
197                result[attr] = value.to_dict()
198            elif isinstance(value, dict):
199                result[attr] = dict(map(
200                    lambda item: (item[0], item[1].to_dict())
201                    if hasattr(item[1], "to_dict") else item,
202                    value.items()
203                ))
204            else:
205                result[attr] = value
206        if issubclass(CurrencyFeatureSetPrice, dict):
207            for key, value in self.items():
208                result[key] = value
209
210        return result
211
212    def to_str(self):
213        """Returns the string representation of the model"""
214        return pprint.pformat(self.to_dict())
215
216    def __repr__(self):
217        """For `print` and `pprint`"""
218        return self.to_str()
219
220    def __eq__(self, other):
221        """Returns true if both objects are equal"""
222        if not isinstance(other, CurrencyFeatureSetPrice):
223            return False
224
225        return self.to_dict() == other.to_dict()
226
227    def __ne__(self, other):
228        """Returns true if both objects are not equal"""
229        if not isinstance(other, CurrencyFeatureSetPrice):
230            return True
231
232        return self.to_dict() != other.to_dict()
class CurrencyFeatureSetPrice:
 23class CurrencyFeatureSetPrice(object):
 24    """NOTE: This class is auto generated by the swagger code generator program.
 25
 26    Do not edit the class manually.
 27    """
 28
 29    """
 30    Attributes:
 31      swagger_types (dict): The key is attribute name
 32                            and the value is attribute type.
 33      attribute_map (dict): The key is attribute name
 34                            and the value is json key in definition.
 35    """
 36    swagger_types = {
 37        'currency_code': 'str',
 38        'currency_symbol': 'str',
 39        'envelope_fee': 'str',
 40        'fixed_fee': 'str',
 41        'seat_fee': 'str'
 42    }
 43
 44    attribute_map = {
 45        'currency_code': 'currencyCode',
 46        'currency_symbol': 'currencySymbol',
 47        'envelope_fee': 'envelopeFee',
 48        'fixed_fee': 'fixedFee',
 49        'seat_fee': 'seatFee'
 50    }
 51
 52    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 53        """CurrencyFeatureSetPrice - a model defined in Swagger"""  # noqa: E501
 54        if _configuration is None:
 55            _configuration = Configuration()
 56        self._configuration = _configuration
 57
 58        self._currency_code = None
 59        self._currency_symbol = None
 60        self._envelope_fee = None
 61        self._fixed_fee = None
 62        self._seat_fee = None
 63        self.discriminator = None
 64
 65        setattr(self, "_{}".format('currency_code'), kwargs.get('currency_code', None))
 66        setattr(self, "_{}".format('currency_symbol'), kwargs.get('currency_symbol', None))
 67        setattr(self, "_{}".format('envelope_fee'), kwargs.get('envelope_fee', None))
 68        setattr(self, "_{}".format('fixed_fee'), kwargs.get('fixed_fee', None))
 69        setattr(self, "_{}".format('seat_fee'), kwargs.get('seat_fee', None))
 70
 71    @property
 72    def currency_code(self):
 73        """Gets the currency_code of this CurrencyFeatureSetPrice.  # noqa: E501
 74
 75        Specifies the alternate ISO currency code for the account.   # noqa: E501
 76
 77        :return: The currency_code of this CurrencyFeatureSetPrice.  # noqa: E501
 78        :rtype: str
 79        """
 80        return self._currency_code
 81
 82    @currency_code.setter
 83    def currency_code(self, currency_code):
 84        """Sets the currency_code of this CurrencyFeatureSetPrice.
 85
 86        Specifies the alternate ISO currency code for the account.   # noqa: E501
 87
 88        :param currency_code: The currency_code of this CurrencyFeatureSetPrice.  # noqa: E501
 89        :type: str
 90        """
 91
 92        self._currency_code = currency_code
 93
 94    @property
 95    def currency_symbol(self):
 96        """Gets the currency_symbol of this CurrencyFeatureSetPrice.  # noqa: E501
 97
 98        Specifies the alternate currency symbol for the account.  # noqa: E501
 99
100        :return: The currency_symbol of this CurrencyFeatureSetPrice.  # noqa: E501
101        :rtype: str
102        """
103        return self._currency_symbol
104
105    @currency_symbol.setter
106    def currency_symbol(self, currency_symbol):
107        """Sets the currency_symbol of this CurrencyFeatureSetPrice.
108
109        Specifies the alternate currency symbol for the account.  # noqa: E501
110
111        :param currency_symbol: The currency_symbol of this CurrencyFeatureSetPrice.  # noqa: E501
112        :type: str
113        """
114
115        self._currency_symbol = currency_symbol
116
117    @property
118    def envelope_fee(self):
119        """Gets the envelope_fee of this CurrencyFeatureSetPrice.  # noqa: E501
120
121        An incremental envelope cost for plans with envelope overages (when `isEnabled` is set to **true**.)  # noqa: E501
122
123        :return: The envelope_fee of this CurrencyFeatureSetPrice.  # noqa: E501
124        :rtype: str
125        """
126        return self._envelope_fee
127
128    @envelope_fee.setter
129    def envelope_fee(self, envelope_fee):
130        """Sets the envelope_fee of this CurrencyFeatureSetPrice.
131
132        An incremental envelope cost for plans with envelope overages (when `isEnabled` is set to **true**.)  # noqa: E501
133
134        :param envelope_fee: The envelope_fee of this CurrencyFeatureSetPrice.  # noqa: E501
135        :type: str
136        """
137
138        self._envelope_fee = envelope_fee
139
140    @property
141    def fixed_fee(self):
142        """Gets the fixed_fee of this CurrencyFeatureSetPrice.  # noqa: E501
143
144        Specifies a one-time fee associated with the plan (when `isEnabled` is set to **true**.)  # noqa: E501
145
146        :return: The fixed_fee of this CurrencyFeatureSetPrice.  # noqa: E501
147        :rtype: str
148        """
149        return self._fixed_fee
150
151    @fixed_fee.setter
152    def fixed_fee(self, fixed_fee):
153        """Sets the fixed_fee of this CurrencyFeatureSetPrice.
154
155        Specifies a one-time fee associated with the plan (when `isEnabled` is set to **true**.)  # noqa: E501
156
157        :param fixed_fee: The fixed_fee of this CurrencyFeatureSetPrice.  # noqa: E501
158        :type: str
159        """
160
161        self._fixed_fee = fixed_fee
162
163    @property
164    def seat_fee(self):
165        """Gets the seat_fee of this CurrencyFeatureSetPrice.  # noqa: E501
166
167        Specifies an incremental seat cost for seat-based plans (when `isEnabled` is set to **true**.)  # noqa: E501
168
169        :return: The seat_fee of this CurrencyFeatureSetPrice.  # noqa: E501
170        :rtype: str
171        """
172        return self._seat_fee
173
174    @seat_fee.setter
175    def seat_fee(self, seat_fee):
176        """Sets the seat_fee of this CurrencyFeatureSetPrice.
177
178        Specifies an incremental seat cost for seat-based plans (when `isEnabled` is set to **true**.)  # noqa: E501
179
180        :param seat_fee: The seat_fee of this CurrencyFeatureSetPrice.  # noqa: E501
181        :type: str
182        """
183
184        self._seat_fee = seat_fee
185
186    def to_dict(self):
187        """Returns the model properties as a dict"""
188        result = {}
189
190        for attr, _ in six.iteritems(self.swagger_types):
191            value = getattr(self, attr)
192            if isinstance(value, list):
193                result[attr] = list(map(
194                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
195                    value
196                ))
197            elif hasattr(value, "to_dict"):
198                result[attr] = value.to_dict()
199            elif isinstance(value, dict):
200                result[attr] = dict(map(
201                    lambda item: (item[0], item[1].to_dict())
202                    if hasattr(item[1], "to_dict") else item,
203                    value.items()
204                ))
205            else:
206                result[attr] = value
207        if issubclass(CurrencyFeatureSetPrice, dict):
208            for key, value in self.items():
209                result[key] = value
210
211        return result
212
213    def to_str(self):
214        """Returns the string representation of the model"""
215        return pprint.pformat(self.to_dict())
216
217    def __repr__(self):
218        """For `print` and `pprint`"""
219        return self.to_str()
220
221    def __eq__(self, other):
222        """Returns true if both objects are equal"""
223        if not isinstance(other, CurrencyFeatureSetPrice):
224            return False
225
226        return self.to_dict() == other.to_dict()
227
228    def __ne__(self, other):
229        """Returns true if both objects are not equal"""
230        if not isinstance(other, CurrencyFeatureSetPrice):
231            return True
232
233        return self.to_dict() != other.to_dict()

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

CurrencyFeatureSetPrice(_configuration=None, **kwargs)
52    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
53        """CurrencyFeatureSetPrice - a model defined in Swagger"""  # noqa: E501
54        if _configuration is None:
55            _configuration = Configuration()
56        self._configuration = _configuration
57
58        self._currency_code = None
59        self._currency_symbol = None
60        self._envelope_fee = None
61        self._fixed_fee = None
62        self._seat_fee = None
63        self.discriminator = None
64
65        setattr(self, "_{}".format('currency_code'), kwargs.get('currency_code', None))
66        setattr(self, "_{}".format('currency_symbol'), kwargs.get('currency_symbol', None))
67        setattr(self, "_{}".format('envelope_fee'), kwargs.get('envelope_fee', None))
68        setattr(self, "_{}".format('fixed_fee'), kwargs.get('fixed_fee', None))
69        setattr(self, "_{}".format('seat_fee'), kwargs.get('seat_fee', None))

CurrencyFeatureSetPrice - a model defined in Swagger

swagger_types = {'currency_code': 'str', 'currency_symbol': 'str', 'envelope_fee': 'str', 'fixed_fee': 'str', 'seat_fee': 'str'}
attribute_map = {'currency_code': 'currencyCode', 'currency_symbol': 'currencySymbol', 'envelope_fee': 'envelopeFee', 'fixed_fee': 'fixedFee', 'seat_fee': 'seatFee'}
currency_code

Gets the currency_code of this CurrencyFeatureSetPrice. # noqa: E501

Specifies the alternate ISO currency code for the account. # noqa: E501

Returns

The currency_code of this CurrencyFeatureSetPrice. # noqa: E501

currency_symbol

Gets the currency_symbol of this CurrencyFeatureSetPrice. # noqa: E501

Specifies the alternate currency symbol for the account. # noqa: E501

Returns

The currency_symbol of this CurrencyFeatureSetPrice. # noqa: E501

envelope_fee

Gets the envelope_fee of this CurrencyFeatureSetPrice. # noqa: E501

An incremental envelope cost for plans with envelope overages (when isEnabled is set to true.) # noqa: E501

Returns

The envelope_fee of this CurrencyFeatureSetPrice. # noqa: E501

fixed_fee

Gets the fixed_fee of this CurrencyFeatureSetPrice. # noqa: E501

Specifies a one-time fee associated with the plan (when isEnabled is set to true.) # noqa: E501

Returns

The fixed_fee of this CurrencyFeatureSetPrice. # noqa: E501

seat_fee

Gets the seat_fee of this CurrencyFeatureSetPrice. # noqa: E501

Specifies an incremental seat cost for seat-based plans (when isEnabled is set to true.) # noqa: E501

Returns

The seat_fee of this CurrencyFeatureSetPrice. # noqa: E501

def to_dict(self)
186    def to_dict(self):
187        """Returns the model properties as a dict"""
188        result = {}
189
190        for attr, _ in six.iteritems(self.swagger_types):
191            value = getattr(self, attr)
192            if isinstance(value, list):
193                result[attr] = list(map(
194                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
195                    value
196                ))
197            elif hasattr(value, "to_dict"):
198                result[attr] = value.to_dict()
199            elif isinstance(value, dict):
200                result[attr] = dict(map(
201                    lambda item: (item[0], item[1].to_dict())
202                    if hasattr(item[1], "to_dict") else item,
203                    value.items()
204                ))
205            else:
206                result[attr] = value
207        if issubclass(CurrencyFeatureSetPrice, dict):
208            for key, value in self.items():
209                result[key] = value
210
211        return result

Returns the model properties as a dict

def to_str(self)
213    def to_str(self):
214        """Returns the string representation of the model"""
215        return pprint.pformat(self.to_dict())

Returns the string representation of the model