Class: TencentCloud::Cpdp::V20190820::CreateRedInvoiceV2Request

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190820/models.rb

Overview

CreateRedInvoiceV2请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#InvoiceChannelObject

0 : 高灯 1 : 票易通

Parameters:

  • InvoicePlatformId:

    开票平台ID

  • OrderId:

    订单号

  • Profile:

    接入环境。沙箱环境填 sandbox。

  • InvoiceChannel:

    开票渠道。0:线上渠道,1:线下渠道。不填默认为线上渠道



8892
8893
8894
# File 'lib/v20190820/models.rb', line 8892

def InvoiceChannel
  @InvoiceChannel
end

#InvoicePlatformIdObject

0 : 高灯 1 : 票易通

Parameters:

  • InvoicePlatformId:

    开票平台ID

  • OrderId:

    订单号

  • Profile:

    接入环境。沙箱环境填 sandbox。

  • InvoiceChannel:

    开票渠道。0:线上渠道,1:线下渠道。不填默认为线上渠道



8892
8893
8894
# File 'lib/v20190820/models.rb', line 8892

def InvoicePlatformId
  @InvoicePlatformId
end

#OrderIdObject

0 : 高灯 1 : 票易通

Parameters:

  • InvoicePlatformId:

    开票平台ID

  • OrderId:

    订单号

  • Profile:

    接入环境。沙箱环境填 sandbox。

  • InvoiceChannel:

    开票渠道。0:线上渠道,1:线下渠道。不填默认为线上渠道



8892
8893
8894
# File 'lib/v20190820/models.rb', line 8892

def OrderId
  @OrderId
end

#ProfileObject

0 : 高灯 1 : 票易通

Parameters:

  • InvoicePlatformId:

    开票平台ID

  • OrderId:

    订单号

  • Profile:

    接入环境。沙箱环境填 sandbox。

  • InvoiceChannel:

    开票渠道。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