Class: TencentCloud::Cpdp::V20190820::PayeeTaxInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::PayeeTaxInfo
- Defined in:
- lib/v20190820/models.rb
Overview
计税信息
Instance Attribute Summary collapse
-
#TaxEntityType ⇒ Object
NATURAL:自然人 NON_NATURAL:非自然人.
-
#TaxpayerIdNo ⇒ Object
NATURAL:自然人 NON_NATURAL:非自然人.
-
#TaxServiceProviderId ⇒ Object
NATURAL:自然人 NON_NATURAL:非自然人.
-
#TaxTemplateInfoList ⇒ Object
NATURAL:自然人 NON_NATURAL:非自然人.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taxtemplateinfolist = nil, taxpayeridno = nil, taxentitytype = nil, taxserviceproviderid = nil) ⇒ PayeeTaxInfo
constructor
A new instance of PayeeTaxInfo.
Constructor Details
#initialize(taxtemplateinfolist = nil, taxpayeridno = nil, taxentitytype = nil, taxserviceproviderid = nil) ⇒ PayeeTaxInfo
Returns a new instance of PayeeTaxInfo.
14171 14172 14173 14174 14175 14176 |
# File 'lib/v20190820/models.rb', line 14171 def initialize(taxtemplateinfolist=nil, taxpayeridno=nil, taxentitytype=nil, taxserviceproviderid=nil) @TaxTemplateInfoList = taxtemplateinfolist @TaxpayerIdNo = taxpayeridno @TaxEntityType = taxentitytype @TaxServiceProviderId = taxserviceproviderid end |
Instance Attribute Details
#TaxEntityType ⇒ Object
NATURAL:自然人NON_NATURAL:非自然人
14169 14170 14171 |
# File 'lib/v20190820/models.rb', line 14169 def TaxEntityType @TaxEntityType end |
#TaxpayerIdNo ⇒ Object
NATURAL:自然人NON_NATURAL:非自然人
14169 14170 14171 |
# File 'lib/v20190820/models.rb', line 14169 def TaxpayerIdNo @TaxpayerIdNo end |
#TaxServiceProviderId ⇒ Object
NATURAL:自然人NON_NATURAL:非自然人
14169 14170 14171 |
# File 'lib/v20190820/models.rb', line 14169 def TaxServiceProviderId @TaxServiceProviderId end |
#TaxTemplateInfoList ⇒ Object
NATURAL:自然人NON_NATURAL:非自然人
14169 14170 14171 |
# File 'lib/v20190820/models.rb', line 14169 def TaxTemplateInfoList @TaxTemplateInfoList end |
Instance Method Details
#deserialize(params) ⇒ Object
14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 |
# File 'lib/v20190820/models.rb', line 14178 def deserialize(params) unless params['TaxTemplateInfoList'].nil? @TaxTemplateInfoList = [] params['TaxTemplateInfoList'].each do |i| payeetaxtemplateinfo_tmp = PayeeTaxTemplateInfo.new payeetaxtemplateinfo_tmp.deserialize(i) @TaxTemplateInfoList << payeetaxtemplateinfo_tmp end end @TaxpayerIdNo = params['TaxpayerIdNo'] @TaxEntityType = params['TaxEntityType'] @TaxServiceProviderId = params['TaxServiceProviderId'] end |