Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.27 KB

NewAdditionalCost.md

File metadata and controls

25 lines (18 loc) · 1.27 KB

TalonOne::NewAdditionalCost

Properties

Name Type Description Notes
name String The internal name used in API requests.
title String The human-readable name for the additional cost that will be shown in the Campaign Manager. Like `name`, the combination of entity and title must also be unique.
description String A description of this additional cost.
subscribed_applications_ids Array<Integer> A list of the IDs of the applications that are subscribed to this additional cost. [optional]
type String The type of additional cost. Possible value: - `session`: Additional cost will be added per session. - `item`: Additional cost will be added per item. - `both`: Additional cost will be added per item and session. [optional] [default to 'session']

Code Sample

require 'TalonOne'

instance = TalonOne::NewAdditionalCost.new(name: shippingFee,
                                 title: Shipping fee,
                                 description: A shipping fee,
                                 subscribed_applications_ids: [3, 13],
                                 type: session)