Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.25 KB

AddOnBaseInput.md

File metadata and controls

30 lines (24 loc) · 1.25 KB

LagoAPI::AddOnBaseInput

Properties

Name Type Description Notes
name String The name of the add-on. [optional]
invoice_display_name String Specifies the name that will be displayed on an invoice. If no value is set for this field, the name of the actual charge will be used as the default display name. [optional]
code String Unique code used to identify the add-on. [optional]
amount_cents Integer The cost of the add-on in cents, excluding any applicable taxes, that is billed to a customer. By creating a one-off invoice, you will be able to override this value. [optional]
amount_currency Currency [optional]
description String The description of the add-on. [optional]
tax_codes Array<String> List of unique code used to identify the taxes. [optional]

Example

require 'lago_ruby'

instance = LagoAPI::AddOnBaseInput.new(
  name: Setup Fee,
  invoice_display_name: Setup Fee (SF1),
  code: setup_fee,
  amount_cents: 50000,
  amount_currency: null,
  description: Implementation fee for new customers.,
  tax_codes: [&quot;french_standard_vat&quot;]
)