Class: TencentCloud::Svp::V20240125::SavingPlanDeductDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Svp::V20240125::SavingPlanDeductDetail
- Defined in:
- lib/v20240125/models.rb
Overview
节省计划抵扣明细
Instance Attribute Summary collapse
- #DeductAmount ⇒ Object
- #DeductDiscount ⇒ Object
- #DeductRate ⇒ Object
- #DeductTime ⇒ Object
- #OutTradeNo ⇒ Object
- #OwnerUin ⇒ Object
- #OwnerUinName ⇒ Object
- #PayerUin ⇒ Object
- #PayerUinName ⇒ Object
- #ProductCode ⇒ Object
- #ProductName ⇒ Object
- #RegionId ⇒ Object
- #RegionName ⇒ Object
- #SpEndTime ⇒ Object
- #SpId ⇒ Object
- #SpStartTime ⇒ Object
- #SubProductCode ⇒ Object
- #SubProductName ⇒ Object
- #ZoneId ⇒ Object
- #ZoneName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(owneruin = nil, owneruinname = nil, payeruin = nil, payeruinname = nil, spid = nil, productcode = nil, productname = nil, subproductcode = nil, subproductname = nil, outtradeno = nil, regionid = nil, regionname = nil, zoneid = nil, zonename = nil, spstarttime = nil, spendtime = nil, deducttime = nil, deductamount = nil, deductdiscount = nil, deductrate = nil) ⇒ SavingPlanDeductDetail
constructor
A new instance of SavingPlanDeductDetail.
Constructor Details
#initialize(owneruin = nil, owneruinname = nil, payeruin = nil, payeruinname = nil, spid = nil, productcode = nil, productname = nil, subproductcode = nil, subproductname = nil, outtradeno = nil, regionid = nil, regionname = nil, zoneid = nil, zonename = nil, spstarttime = nil, spendtime = nil, deducttime = nil, deductamount = nil, deductdiscount = nil, deductrate = nil) ⇒ SavingPlanDeductDetail
Returns a new instance of SavingPlanDeductDetail.
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 |
# File 'lib/v20240125/models.rb', line 516 def initialize(owneruin=nil, owneruinname=nil, payeruin=nil, payeruinname=nil, spid=nil, productcode=nil, productname=nil, subproductcode=nil, subproductname=nil, outtradeno=nil, regionid=nil, regionname=nil, zoneid=nil, zonename=nil, spstarttime=nil, spendtime=nil, deducttime=nil, deductamount=nil, deductdiscount=nil, deductrate=nil) @OwnerUin = owneruin @OwnerUinName = owneruinname @PayerUin = payeruin @PayerUinName = payeruinname @SpId = spid @ProductCode = productcode @ProductName = productname @SubProductCode = subproductcode @SubProductName = subproductname @OutTradeNo = outtradeno @RegionId = regionid @RegionName = regionname @ZoneId = zoneid @ZoneName = zonename @SpStartTime = spstarttime @SpEndTime = spendtime @DeductTime = deducttime @DeductAmount = deductamount @DeductDiscount = deductdiscount @DeductRate = deductrate end |
Instance Attribute Details
#DeductAmount ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def DeductAmount @DeductAmount end |
#DeductDiscount ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def DeductDiscount @DeductDiscount end |
#DeductRate ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def DeductRate @DeductRate end |
#DeductTime ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def DeductTime @DeductTime end |
#OutTradeNo ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def OutTradeNo @OutTradeNo end |
#OwnerUin ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def OwnerUin @OwnerUin end |
#OwnerUinName ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def OwnerUinName @OwnerUinName end |
#PayerUin ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def PayerUin @PayerUin end |
#PayerUinName ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def PayerUinName @PayerUinName end |
#ProductCode ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def ProductCode @ProductCode end |
#ProductName ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def ProductName @ProductName end |
#RegionId ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def RegionId @RegionId end |
#RegionName ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def RegionName @RegionName end |
#SpEndTime ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def SpEndTime @SpEndTime end |
#SpId ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def SpId @SpId end |
#SpStartTime ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def SpStartTime @SpStartTime end |
#SubProductCode ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def SubProductCode @SubProductCode end |
#SubProductName ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def SubProductName @SubProductName end |
#ZoneId ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def ZoneId @ZoneId end |
#ZoneName ⇒ Object
514 515 516 |
# File 'lib/v20240125/models.rb', line 514 def ZoneName @ZoneName end |
Instance Method Details
#deserialize(params) ⇒ Object
539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'lib/v20240125/models.rb', line 539 def deserialize(params) @OwnerUin = params['OwnerUin'] @OwnerUinName = params['OwnerUinName'] @PayerUin = params['PayerUin'] @PayerUinName = params['PayerUinName'] @SpId = params['SpId'] @ProductCode = params['ProductCode'] @ProductName = params['ProductName'] @SubProductCode = params['SubProductCode'] @SubProductName = params['SubProductName'] @OutTradeNo = params['OutTradeNo'] @RegionId = params['RegionId'] @RegionName = params['RegionName'] @ZoneId = params['ZoneId'] @ZoneName = params['ZoneName'] @SpStartTime = params['SpStartTime'] @SpEndTime = params['SpEndTime'] @DeductTime = params['DeductTime'] @DeductAmount = params['DeductAmount'] @DeductDiscount = params['DeductDiscount'] @DeductRate = params['DeductRate'] end |