Class: TencentCloud::Cpdp::V20190820::CreateRedInvoiceItem

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

Overview

创建红票明细

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CallbackUrlObject

Parameters:

  • OrderId:

    订单号

  • CallbackUrl:

    发票结果回传地址

  • OrderSn:

    业务开票号

  • RedSerialNo:

    红字信息表编码

  • StoreNo:

    门店编号



8724
8725
8726
# File 'lib/v20190820/models.rb', line 8724

def CallbackUrl
  @CallbackUrl
end

#OrderIdObject

Parameters:

  • OrderId:

    订单号

  • CallbackUrl:

    发票结果回传地址

  • OrderSn:

    业务开票号

  • RedSerialNo:

    红字信息表编码

  • StoreNo:

    门店编号



8724
8725
8726
# File 'lib/v20190820/models.rb', line 8724

def OrderId
  @OrderId
end

#OrderSnObject

Parameters:

  • OrderId:

    订单号

  • CallbackUrl:

    发票结果回传地址

  • OrderSn:

    业务开票号

  • RedSerialNo:

    红字信息表编码

  • StoreNo:

    门店编号



8724
8725
8726
# File 'lib/v20190820/models.rb', line 8724

def OrderSn
  @OrderSn
end

#RedSerialNoObject

Parameters:

  • OrderId:

    订单号

  • CallbackUrl:

    发票结果回传地址

  • OrderSn:

    业务开票号

  • RedSerialNo:

    红字信息表编码

  • StoreNo:

    门店编号



8724
8725
8726
# File 'lib/v20190820/models.rb', line 8724

def RedSerialNo
  @RedSerialNo
end

#StoreNoObject

Parameters:

  • OrderId:

    订单号

  • CallbackUrl:

    发票结果回传地址

  • OrderSn:

    业务开票号

  • RedSerialNo:

    红字信息表编码

  • StoreNo:

    门店编号



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