Class: TencentCloud::Cpdp::V20190820::CreateRedInvoiceItem
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::CreateRedInvoiceItem
- Defined in:
- lib/v20190820/models.rb
Overview
创建红票明细
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(orderid = nil, callbackurl = nil, ordersn = nil, redserialno = nil, storeno = nil) ⇒ CreateRedInvoiceItem
constructor
A new instance of CreateRedInvoiceItem.
Constructor Details
#initialize(orderid = nil, callbackurl = nil, ordersn = nil, redserialno = nil, storeno = nil) ⇒ CreateRedInvoiceItem
Returns a new instance of CreateRedInvoiceItem.
8726 8727 8728 8729 8730 8731 8732 |
# File 'lib/v20190820/models.rb', line 8726 def initialize(orderid=nil, callbackurl=nil, ordersn=nil, redserialno=nil, storeno=nil) @OrderId = orderid @CallbackUrl = callbackurl @OrderSn = ordersn @RedSerialNo = redserialno @StoreNo = storeno end |
Instance Attribute Details
#CallbackUrl ⇒ Object
8724 8725 8726 |
# File 'lib/v20190820/models.rb', line 8724 def CallbackUrl @CallbackUrl end |
#OrderId ⇒ Object
8724 8725 8726 |
# File 'lib/v20190820/models.rb', line 8724 def OrderId @OrderId end |
#OrderSn ⇒ Object
8724 8725 8726 |
# File 'lib/v20190820/models.rb', line 8724 def OrderSn @OrderSn end |
#RedSerialNo ⇒ Object
8724 8725 8726 |
# File 'lib/v20190820/models.rb', line 8724 def RedSerialNo @RedSerialNo end |
#StoreNo ⇒ Object
8724 8725 8726 |
# File 'lib/v20190820/models.rb', line 8724 def StoreNo @StoreNo end |
Instance Method Details
#deserialize(params) ⇒ Object
8734 8735 8736 8737 8738 8739 8740 |
# File 'lib/v20190820/models.rb', line 8734 def deserialize(params) @OrderId = params['OrderId'] @CallbackUrl = params['CallbackUrl'] @OrderSn = params['OrderSn'] @RedSerialNo = params['RedSerialNo'] @StoreNo = params['StoreNo'] end |