AddressRule¶
- class oci.osp_gateway.models.AddressRule(**kwargs)¶
Bases:
objectAddres rule information
Methods:
__init__(**kwargs)Initializes a new AddressRule object with values from keyword arguments.
Attributes:
[Required] Gets the address of this AddressRule.
Gets the contact of this AddressRule.
[Required] Gets the country_code of this AddressRule.
Gets the tax of this AddressRule.
- __init__(**kwargs)¶
Initializes a new AddressRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
country_code (str) – The value to assign to the country_code property of this AddressRule.
address (oci.osp_gateway.models.AddressTypeRule) – The value to assign to the address property of this AddressRule.
contact (oci.osp_gateway.models.ContactTypeRule) – The value to assign to the contact property of this AddressRule.
tax (oci.osp_gateway.models.TaxTypeRule) – The value to assign to the tax property of this AddressRule.
- property address¶
[Required] Gets the address of this AddressRule.
- Returns
The address of this AddressRule.
- Return type
- property contact¶
Gets the contact of this AddressRule.
- Returns
The contact of this AddressRule.
- Return type
- property country_code¶
[Required] Gets the country_code of this AddressRule. Country code for the address rule in ISO-3166-1 2-letter format
- Returns
The country_code of this AddressRule.
- Return type
str
- property tax¶
Gets the tax of this AddressRule.
- Returns
The tax of this AddressRule.
- Return type