Class: TencentCloud::Cpdp::V20190820::CloudAttachmentInfo

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(attachmentamount = nil, attachmenttype = nil, attachmentname = nil, attachmentcode = nil) ⇒ CloudAttachmentInfo

Returns a new instance of CloudAttachmentInfo.



3942
3943
3944
3945
3946
3947
# File 'lib/v20190820/models.rb', line 3942

def initialize(attachmentamount=nil, attachmenttype=nil, attachmentname=nil, attachmentcode=nil)
  @AttachmentAmount = attachmentamount
  @AttachmentType = attachmenttype
  @AttachmentName = attachmentname
  @AttachmentCode = attachmentcode
end

Instance Attribute Details

#AttachmentAmountObject

附加项的金额(必须是正数,单位:分),代表积分的数量、抵扣的金额、溢价的金额、补贴的金额Add:加项;Sub:减项;Point:积分项;Subsidy:补贴项。当银行作为收单机构可能会对该字段有要求,请向米大师确认。当银行作为收单机构可能会对该字段有要求,请向米大师确认。

Parameters:

  • AttachmentAmount:

    附加项金额。

  • AttachmentType:

    附加项类型。

  • AttachmentName:

    附加项名称。

  • AttachmentCode:

    附加项编号。



3940
3941
3942
# File 'lib/v20190820/models.rb', line 3940

def AttachmentAmount
  @AttachmentAmount
end

#AttachmentCodeObject

附加项的金额(必须是正数,单位:分),代表积分的数量、抵扣的金额、溢价的金额、补贴的金额Add:加项;Sub:减项;Point:积分项;Subsidy:补贴项。当银行作为收单机构可能会对该字段有要求,请向米大师确认。当银行作为收单机构可能会对该字段有要求,请向米大师确认。

Parameters:

  • AttachmentAmount:

    附加项金额。

  • AttachmentType:

    附加项类型。

  • AttachmentName:

    附加项名称。

  • AttachmentCode:

    附加项编号。



3940
3941
3942
# File 'lib/v20190820/models.rb', line 3940

def AttachmentCode
  @AttachmentCode
end

#AttachmentNameObject

附加项的金额(必须是正数,单位:分),代表积分的数量、抵扣的金额、溢价的金额、补贴的金额Add:加项;Sub:减项;Point:积分项;Subsidy:补贴项。当银行作为收单机构可能会对该字段有要求,请向米大师确认。当银行作为收单机构可能会对该字段有要求,请向米大师确认。

Parameters:

  • AttachmentAmount:

    附加项金额。

  • AttachmentType:

    附加项类型。

  • AttachmentName:

    附加项名称。

  • AttachmentCode:

    附加项编号。



3940
3941
3942
# File 'lib/v20190820/models.rb', line 3940

def AttachmentName
  @AttachmentName
end

#AttachmentTypeObject

附加项的金额(必须是正数,单位:分),代表积分的数量、抵扣的金额、溢价的金额、补贴的金额Add:加项;Sub:减项;Point:积分项;Subsidy:补贴项。当银行作为收单机构可能会对该字段有要求,请向米大师确认。当银行作为收单机构可能会对该字段有要求,请向米大师确认。

Parameters:

  • AttachmentAmount:

    附加项金额。

  • AttachmentType:

    附加项类型。

  • AttachmentName:

    附加项名称。

  • AttachmentCode:

    附加项编号。



3940
3941
3942
# File 'lib/v20190820/models.rb', line 3940

def AttachmentType
  @AttachmentType
end

Instance Method Details

#deserialize(params) ⇒ Object



3949
3950
3951
3952
3953
3954
# File 'lib/v20190820/models.rb', line 3949

def deserialize(params)
  @AttachmentAmount = params['AttachmentAmount']
  @AttachmentType = params['AttachmentType']
  @AttachmentName = params['AttachmentName']
  @AttachmentCode = params['AttachmentCode']
end