You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# {https://developers.recurly.com/api/v2021-02-25#operation/create_general_ledger_account create_general_ledger_account api documentation}
1830
+
#
1831
+
# @param body [Requests::GeneralLedgerAccountCreate] The Hash representing the JSON request to send to the server. It should conform to the schema of {Requests::GeneralLedgerAccountCreate}
# {https://developers.recurly.com/api/v2021-02-25#operation/update_general_ledger_account update_general_ledger_account api documentation}
1890
+
#
1891
+
# @param general_ledger_account_id [String] General Ledger Account ID
1892
+
# @param body [Requests::GeneralLedgerAccountUpdate] The Hash representing the JSON request to send to the server. It should conform to the schema of {Requests::GeneralLedgerAccountUpdate}
# {https://developers.recurly.com/api/v2021-02-25#operation/get_external_subscription get_external_subscription api documentation}
2303
2405
#
2304
-
# @param external_subscription_id [String] External subscription id
2406
+
# @param external_subscription_id [String] External subscription ID or external_id. For ID no prefix is used e.g. +e28zov4fw0v2+. For external_id use prefix +external-id-+, e.g. +external-id-123456+.
# {https://developers.recurly.com/api/v2021-02-25#operation/get_external_subscription_external_payment_phase get_external_subscription_external_payment_phase api documentation}
4504
4606
#
4505
4607
# @param external_subscription_id [String] External subscription id
4506
4608
# @param external_payment_phase_id [String] External payment phase ID, e.g. +a34ypb2ef9w1+.
Copy file name to clipboardExpand all lines: lib/recurly/requests/add_on_create.rb
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ class AddOnCreate < Request
27
27
define_attribute:code,String
28
28
29
29
# @!attribute currencies
30
-
# @return [Array[AddOnPricing]] * If `item_code`/`item_id` is part of the request and the item has a default currency then `currencies` is optional. If the item does not have a default currency, then `currencies` is required. If `item_code`/`item_id` is not present `currencies` is required. * If the add-on's `tier_type` is `tiered`, `volume`, or `stairstep`, then `currencies` must be absent. * Must be absent if `add_on_type` is `usage` and `usage_type` is `percentage`.
30
+
# @return [Array[AddOnPricing]] * If `item_code`/`item_id` is part of the request and the item has a default currency, then `currencies` is optional. If the item does not have a default currency, then `currencies` is required. If `item_code`/`item_id` is not present `currencies` is required. * If the add-on's `tier_type` is `tiered`, `volume`, or `stairstep`, then `currencies` must be absent. * Must be absent if `add_on_type` is `usage` and `usage_type` is `percentage`.
# @return [String] Unique code to identify an item. Available when the `Credit Invoices` feature are enabled. If `item_id` and `item_code` are both present, `item_id` will be used.
42
+
# @return [String] Unique code to identify an item. Available when the `Credit Invoices` feature is enabled. If `item_id` and `item_code` are both present, `item_id` will be used.
43
43
define_attribute:item_code,String
44
44
45
45
# @!attribute item_id
46
46
# @return [String] System-generated unique identifier for an item. Available when the `Credit Invoices` feature is enabled. If `item_id` and `item_code` are both present, `item_id` will be used.
47
47
define_attribute:item_id,String
48
48
49
+
# @!attribute liability_gl_account_id
50
+
# @return [String] The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
51
+
define_attribute:liability_gl_account_id,String
52
+
49
53
# @!attribute measured_unit_id
50
54
# @return [String] System-generated unique identifier for a measured unit to be associated with the add-on. Either `measured_unit_id` or `measured_unit_name` are required when `add_on_type` is `usage`. If `measured_unit_id` and `measured_unit_name` are both present, `measured_unit_id` will be used.
51
55
define_attribute:measured_unit_id,String
@@ -66,10 +70,18 @@ class AddOnCreate < Request
66
70
# @return [Array[PercentageTiersByCurrency]] Array of objects which must have at least one set of tiers per currency and the currency code. The tier_type must be `volume` or `tiered`, if not, it must be absent. There must be one tier without an `ending_amount` value which represents the final tier. This feature is currently in development and requires approval and enablement, please contact support.
# @return [String] The ID of a performance obligation. Performance obligations are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
75
+
define_attribute:performance_obligation_id,String
76
+
69
77
# @!attribute plan_id
70
78
# @return [String] Plan ID
71
79
define_attribute:plan_id,String
72
80
81
+
# @!attribute revenue_gl_account_id
82
+
# @return [String] The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
83
+
define_attribute:revenue_gl_account_id,String
84
+
73
85
# @!attribute revenue_schedule_type
74
86
# @return [String] When this add-on is invoiced, the line item will use this revenue schedule. If `item_code`/`item_id` is part of the request then `revenue_schedule_type` must be absent in the request as the value will be set from the item.
Copy file name to clipboardExpand all lines: lib/recurly/requests/add_on_update.rb
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,10 @@ class AddOnUpdate < Request
38
38
# @return [String] Add-on ID
39
39
define_attribute:id,String
40
40
41
+
# @!attribute liability_gl_account_id
42
+
# @return [String] The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
43
+
define_attribute:liability_gl_account_id,String
44
+
41
45
# @!attribute measured_unit_id
42
46
# @return [String] System-generated unique identifier for a measured unit to be associated with the add-on. Either `measured_unit_id` or `measured_unit_name` are required when `add_on_type` is `usage`. If `measured_unit_id` and `measured_unit_name` are both present, `measured_unit_id` will be used.
43
47
define_attribute:measured_unit_id,String
@@ -55,9 +59,17 @@ class AddOnUpdate < Request
55
59
define_attribute:optional,:Boolean
56
60
57
61
# @!attribute percentage_tiers
58
-
# @return [Array[PercentageTiersByCurrency]] `percentage_tiers` is an array of objects, which must have the set of tiers per currency and the currency code. The tier_type must be `volume` or `tiered`, if not, it must be absent. There must be one tier without an `ending_amount` value which represents the final tier. This feature is currently in development and requires approval and enablement, please contact support.
62
+
# @return [Array[PercentageTiersByCurrency]] `percentage_tiers` is an array of objects, which must have the set of tiers per currency and the currency code. The tier_type must be `volume` or `tiered`, if not, it must be absent. There must be one tier without an `ending_amount` value which represents the final tier. This feature is currently in development and requires approval and enablement, please contact support.
# @return [String] The ID of a performance obligation. Performance obligations are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
67
+
define_attribute:performance_obligation_id,String
68
+
69
+
# @!attribute revenue_gl_account_id
70
+
# @return [String] The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
71
+
define_attribute:revenue_gl_account_id,String
72
+
61
73
# @!attribute revenue_schedule_type
62
74
# @return [String] When this add-on is invoiced, the line item will use this revenue schedule. If `item_code`/`item_id` is part of the request then `revenue_schedule_type` must be absent in the request as the value will be set from the item.
# This file is automatically created by Recurly's OpenAPI generation process
2
+
# and thus any edits you make by hand will be lost. If you wish to make a
3
+
# change to this file, please create a Github issue explaining the changes you
4
+
# need and we will usher them to the appropriate places.
5
+
moduleRecurly
6
+
moduleRequests
7
+
classGeneralLedgerAccountCreate < Request
8
+
9
+
# @!attribute account_type
10
+
# @return [String]
11
+
define_attribute:account_type,String
12
+
13
+
# @!attribute code
14
+
# @return [String] Unique code to identify the ledger account. Each code must start with a letter or number. The following special characters are allowed: `-_.,:`
# This file is automatically created by Recurly's OpenAPI generation process
2
+
# and thus any edits you make by hand will be lost. If you wish to make a
3
+
# change to this file, please create a Github issue explaining the changes you
4
+
# need and we will usher them to the appropriate places.
5
+
moduleRecurly
6
+
moduleRequests
7
+
classGeneralLedgerAccountUpdate < Request
8
+
9
+
# @!attribute code
10
+
# @return [String] Unique code to identify the ledger account. Each code must start with a letter or number. The following special characters are allowed: `-_.,:`
Copy file name to clipboardExpand all lines: lib/recurly/requests/item_create.rb
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,22 @@ class ItemCreate < Request
38
38
# @return [String] Optional, stock keeping unit to link the item to other inventory systems.
39
39
define_attribute:external_sku,String
40
40
41
+
# @!attribute liability_gl_account_id
42
+
# @return [String] The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
43
+
define_attribute:liability_gl_account_id,String
44
+
41
45
# @!attribute name
42
46
# @return [String] This name describes your item and will appear on the invoice when it's purchased on a one time basis.
43
47
define_attribute:name,String
44
48
49
+
# @!attribute performance_obligation_id
50
+
# @return [String] The ID of a performance obligation. Performance obligations are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
51
+
define_attribute:performance_obligation_id,String
52
+
53
+
# @!attribute revenue_gl_account_id
54
+
# @return [String] The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
Copy file name to clipboardExpand all lines: lib/recurly/requests/item_update.rb
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,22 @@ class ItemUpdate < Request
38
38
# @return [String] Optional, stock keeping unit to link the item to other inventory systems.
39
39
define_attribute:external_sku,String
40
40
41
+
# @!attribute liability_gl_account_id
42
+
# @return [String] The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
43
+
define_attribute:liability_gl_account_id,String
44
+
41
45
# @!attribute name
42
46
# @return [String] This name describes your item and will appear on the invoice when it's purchased on a one time basis.
43
47
define_attribute:name,String
44
48
49
+
# @!attribute performance_obligation_id
50
+
# @return [String] The ID of a performance obligation. Performance obligations are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
51
+
define_attribute:performance_obligation_id,String
52
+
53
+
# @!attribute revenue_gl_account_id
54
+
# @return [String] The ID of a general ledger account. General ledger accounts are only accessible as a part of the Recurly RevRec Standard and Recurly RevRec Advanced features.
0 commit comments