Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (18 loc) · 898 Bytes

CreditObjectItem.md

File metadata and controls

24 lines (18 loc) · 898 Bytes

LagoAPI::CreditObjectItem

Properties

Name Type Description Notes
lago_item_id String Unique identifier assigned to the credit item within the Lago application.
type String The type of credit applied. Possible values are `coupon` or `credit_note`.
code String The code of the credit applied. It can be the code of the coupon attached to the credit or the credit note's number.
name String The name of the credit applied. It can be the name of the coupon attached to the credit or the initial invoice's number linked to the credit note.

Example

require 'lago_ruby'

instance = LagoAPI::CreditObjectItem.new(
  lago_item_id: 1a901a90-1a90-1a90-1a90-1a901a901a90,
  type: coupon,
  code: startup_deal,
  name: Startup Deal
)