Class: TencentCloud::Cpdp::V20190820::CreateRedInvoiceV2Request
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::CreateRedInvoiceV2Request
- Defined in:
- lib/v20190820/models.rb
Overview
CreateRedInvoiceV2请求参数结构体
Instance Attribute Summary collapse
-
#InvoiceChannel ⇒ Object
0 : 高灯 1 : 票易通.
-
#InvoicePlatformId ⇒ Object
0 : 高灯 1 : 票易通.
-
#OrderId ⇒ Object
0 : 高灯 1 : 票易通.
-
#Profile ⇒ Object
0 : 高灯 1 : 票易通.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(invoiceplatformid = nil, orderid = nil, profile = nil, invoicechannel = nil) ⇒ CreateRedInvoiceV2Request
constructor
A new instance of CreateRedInvoiceV2Request.
Constructor Details
#initialize(invoiceplatformid = nil, orderid = nil, profile = nil, invoicechannel = nil) ⇒ CreateRedInvoiceV2Request
Returns a new instance of CreateRedInvoiceV2Request.
8894 8895 8896 8897 8898 8899 |
# File 'lib/v20190820/models.rb', line 8894 def initialize(invoiceplatformid=nil, orderid=nil, profile=nil, invoicechannel=nil) @InvoicePlatformId = invoiceplatformid @OrderId = orderid @Profile = profile @InvoiceChannel = invoicechannel end |
Instance Attribute Details
#InvoiceChannel ⇒ Object
0 : 高灯 1 : 票易通
8892 8893 8894 |
# File 'lib/v20190820/models.rb', line 8892 def InvoiceChannel @InvoiceChannel end |
#InvoicePlatformId ⇒ Object
0 : 高灯 1 : 票易通
8892 8893 8894 |
# File 'lib/v20190820/models.rb', line 8892 def InvoicePlatformId @InvoicePlatformId end |
#OrderId ⇒ Object
0 : 高灯 1 : 票易通
8892 8893 8894 |
# File 'lib/v20190820/models.rb', line 8892 def OrderId @OrderId end |
#Profile ⇒ Object
0 : 高灯 1 : 票易通
8892 8893 8894 |
# File 'lib/v20190820/models.rb', line 8892 def Profile @Profile end |
Instance Method Details
#deserialize(params) ⇒ Object
8901 8902 8903 8904 8905 8906 |
# File 'lib/v20190820/models.rb', line 8901 def deserialize(params) @InvoicePlatformId = params['InvoicePlatformId'] @OrderId = params['OrderId'] @Profile = params['Profile'] @InvoiceChannel = params['InvoiceChannel'] end |