metronome-sdk 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +39 -0
- data/README.md +1 -1
- data/lib/metronome_sdk/internal/transport/base_client.rb +1 -1
- data/lib/metronome_sdk/internal/type/array_of.rb +1 -0
- data/lib/metronome_sdk/internal/type/base_model.rb +3 -1
- data/lib/metronome_sdk/internal/type/converter.rb +27 -0
- data/lib/metronome_sdk/internal/type/hash_of.rb +1 -0
- data/lib/metronome_sdk/internal/type/union.rb +9 -7
- data/lib/metronome_sdk/models/commit.rb +35 -5
- data/lib/metronome_sdk/models/contract_without_amendments.rb +128 -2
- data/lib/metronome_sdk/models/credit.rb +21 -3
- data/lib/metronome_sdk/models/schedule_point_in_time.rb +14 -1
- data/lib/metronome_sdk/models/v1/alert_create_params.rb +9 -11
- data/lib/metronome_sdk/models/v1/contract_amend_params.rb +54 -5
- data/lib/metronome_sdk/models/v1/contract_create_params.rb +219 -23
- data/lib/metronome_sdk/models/v1/contracts/product_create_params.rb +8 -1
- data/lib/metronome_sdk/models/v1/customers/commit_create_params.rb +10 -1
- data/lib/metronome_sdk/models/v1/customers/customer_alert.rb +29 -1
- data/lib/metronome_sdk/models/v1/customers/invoice.rb +13 -1
- data/lib/metronome_sdk/models/v1/dashboard_get_embeddable_url_params.rb +2 -0
- data/lib/metronome_sdk/models/v2/contract_edit_commit_params.rb +12 -1
- data/lib/metronome_sdk/models/v2/contract_edit_credit_params.rb +12 -1
- data/lib/metronome_sdk/models/v2/contract_edit_params.rb +259 -37
- data/lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb +602 -15
- data/lib/metronome_sdk/models/v2/contract_list_response.rb +194 -17
- data/lib/metronome_sdk/models/v2/contract_retrieve_response.rb +194 -17
- data/lib/metronome_sdk/resources/v1/alerts.rb +2 -2
- data/lib/metronome_sdk/resources/v1/contracts/products.rb +3 -1
- data/lib/metronome_sdk/resources/v2/contracts.rb +6 -2
- data/lib/metronome_sdk/version.rb +1 -1
- data/rbi/metronome_sdk/internal/transport/base_client.rbi +1 -1
- data/rbi/metronome_sdk/internal/type/converter.rbi +58 -0
- data/rbi/metronome_sdk/internal/type/union.rbi +9 -2
- data/rbi/metronome_sdk/models/commit.rbi +89 -15
- data/rbi/metronome_sdk/models/contract_without_amendments.rbi +304 -6
- data/rbi/metronome_sdk/models/credit.rbi +54 -9
- data/rbi/metronome_sdk/models/schedule_point_in_time.rbi +17 -1
- data/rbi/metronome_sdk/models/v1/alert_create_params.rbi +16 -18
- data/rbi/metronome_sdk/models/v1/contract_amend_params.rbi +76 -3
- data/rbi/metronome_sdk/models/v1/contract_create_params.rbi +433 -26
- data/rbi/metronome_sdk/models/v1/contracts/product_create_params.rbi +9 -0
- data/rbi/metronome_sdk/models/v1/customers/commit_create_params.rbi +13 -0
- data/rbi/metronome_sdk/models/v1/customers/customer_alert.rbi +60 -0
- data/rbi/metronome_sdk/models/v1/customers/invoice.rbi +16 -0
- data/rbi/metronome_sdk/models/v1/dashboard_get_embeddable_url_params.rbi +10 -0
- data/rbi/metronome_sdk/models/v2/contract_edit_commit_params.rbi +14 -0
- data/rbi/metronome_sdk/models/v2/contract_edit_credit_params.rbi +14 -0
- data/rbi/metronome_sdk/models/v2/contract_edit_params.rbi +481 -38
- data/rbi/metronome_sdk/models/v2/contract_get_edit_history_response.rbi +1565 -42
- data/rbi/metronome_sdk/models/v2/contract_list_response.rbi +431 -37
- data/rbi/metronome_sdk/models/v2/contract_retrieve_response.rbi +431 -37
- data/rbi/metronome_sdk/resources/v1/alerts.rbi +5 -5
- data/rbi/metronome_sdk/resources/v1/contracts/products.rbi +2 -0
- data/rbi/metronome_sdk/resources/v2/contracts.rbi +12 -0
- data/sig/metronome_sdk/internal/transport/base_client.rbs +1 -1
- data/sig/metronome_sdk/internal/type/converter.rbs +17 -0
- data/sig/metronome_sdk/internal/type/union.rbs +2 -2
- data/sig/metronome_sdk/models/commit.rbs +50 -15
- data/sig/metronome_sdk/models/contract_without_amendments.rbs +120 -6
- data/sig/metronome_sdk/models/credit.rbs +30 -9
- data/sig/metronome_sdk/models/schedule_point_in_time.rbs +7 -0
- data/sig/metronome_sdk/models/v1/alert_create_params.rbs +9 -9
- data/sig/metronome_sdk/models/v1/contract_amend_params.rbs +38 -3
- data/sig/metronome_sdk/models/v1/contract_create_params.rbs +168 -6
- data/sig/metronome_sdk/models/v1/contracts/product_create_params.rbs +7 -0
- data/sig/metronome_sdk/models/v1/customers/commit_create_params.rbs +7 -0
- data/sig/metronome_sdk/models/v1/customers/customer_alert.rbs +21 -0
- data/sig/metronome_sdk/models/v1/customers/invoice.rbs +5 -0
- data/sig/metronome_sdk/models/v1/dashboard_get_embeddable_url_params.rbs +4 -0
- data/sig/metronome_sdk/models/v2/contract_edit_commit_params.rbs +5 -0
- data/sig/metronome_sdk/models/v2/contract_edit_credit_params.rbs +5 -0
- data/sig/metronome_sdk/models/v2/contract_edit_params.rbs +178 -6
- data/sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs +629 -6
- data/sig/metronome_sdk/models/v2/contract_list_response.rbs +205 -30
- data/sig/metronome_sdk/models/v2/contract_retrieve_response.rbs +205 -30
- data/sig/metronome_sdk/resources/v1/alerts.rbs +1 -1
- data/sig/metronome_sdk/resources/v1/contracts/products.rbs +1 -0
- data/sig/metronome_sdk/resources/v2/contracts.rbs +2 -0
- metadata +2 -2
@@ -12,7 +12,7 @@ module MetronomeSDK
|
|
12
12
|
custom_field_filters: ::Array[MetronomeSDK::V1::AlertCreateParams::CustomFieldFilter],
|
13
13
|
customer_id: String,
|
14
14
|
evaluate_on_create: bool,
|
15
|
-
|
15
|
+
group_values: ::Array[MetronomeSDK::V1::AlertCreateParams::GroupValue],
|
16
16
|
invoice_types_filter: ::Array[String],
|
17
17
|
plan_id: String,
|
18
18
|
uniqueness_key: String
|
@@ -55,11 +55,11 @@ module MetronomeSDK
|
|
55
55
|
|
56
56
|
def evaluate_on_create=: (bool) -> bool
|
57
57
|
|
58
|
-
attr_reader
|
58
|
+
attr_reader group_values: ::Array[MetronomeSDK::V1::AlertCreateParams::GroupValue]?
|
59
59
|
|
60
|
-
def
|
61
|
-
MetronomeSDK::V1::AlertCreateParams::
|
62
|
-
) -> MetronomeSDK::V1::AlertCreateParams::
|
60
|
+
def group_values=: (
|
61
|
+
::Array[MetronomeSDK::V1::AlertCreateParams::GroupValue]
|
62
|
+
) -> ::Array[MetronomeSDK::V1::AlertCreateParams::GroupValue]
|
63
63
|
|
64
64
|
attr_reader invoice_types_filter: ::Array[String]?
|
65
65
|
|
@@ -83,7 +83,7 @@ module MetronomeSDK
|
|
83
83
|
?custom_field_filters: ::Array[MetronomeSDK::V1::AlertCreateParams::CustomFieldFilter],
|
84
84
|
?customer_id: String,
|
85
85
|
?evaluate_on_create: bool,
|
86
|
-
?
|
86
|
+
?group_values: ::Array[MetronomeSDK::V1::AlertCreateParams::GroupValue],
|
87
87
|
?invoice_types_filter: ::Array[String],
|
88
88
|
?plan_id: String,
|
89
89
|
?uniqueness_key: String,
|
@@ -100,7 +100,7 @@ module MetronomeSDK
|
|
100
100
|
custom_field_filters: ::Array[MetronomeSDK::V1::AlertCreateParams::CustomFieldFilter],
|
101
101
|
customer_id: String,
|
102
102
|
evaluate_on_create: bool,
|
103
|
-
|
103
|
+
group_values: ::Array[MetronomeSDK::V1::AlertCreateParams::GroupValue],
|
104
104
|
invoice_types_filter: ::Array[String],
|
105
105
|
plan_id: String,
|
106
106
|
uniqueness_key: String,
|
@@ -183,9 +183,9 @@ module MetronomeSDK
|
|
183
183
|
end
|
184
184
|
end
|
185
185
|
|
186
|
-
type
|
186
|
+
type group_value = { key: String, value: String }
|
187
187
|
|
188
|
-
class
|
188
|
+
class GroupValue < MetronomeSDK::Internal::Type::BaseModel
|
189
189
|
attr_accessor key: String
|
190
190
|
|
191
191
|
attr_accessor value: String
|
@@ -444,6 +444,7 @@ module MetronomeSDK
|
|
444
444
|
type invoice_schedule =
|
445
445
|
{
|
446
446
|
credit_type_id: String,
|
447
|
+
do_not_invoice: bool,
|
447
448
|
recurring_schedule: MetronomeSDK::V1::ContractAmendParams::Commit::InvoiceSchedule::RecurringSchedule,
|
448
449
|
schedule_items: ::Array[MetronomeSDK::V1::ContractAmendParams::Commit::InvoiceSchedule::ScheduleItem]
|
449
450
|
}
|
@@ -453,6 +454,10 @@ module MetronomeSDK
|
|
453
454
|
|
454
455
|
def credit_type_id=: (String) -> String
|
455
456
|
|
457
|
+
attr_reader do_not_invoice: bool?
|
458
|
+
|
459
|
+
def do_not_invoice=: (bool) -> bool
|
460
|
+
|
456
461
|
attr_reader recurring_schedule: MetronomeSDK::V1::ContractAmendParams::Commit::InvoiceSchedule::RecurringSchedule?
|
457
462
|
|
458
463
|
def recurring_schedule=: (
|
@@ -467,12 +472,14 @@ module MetronomeSDK
|
|
467
472
|
|
468
473
|
def initialize: (
|
469
474
|
?credit_type_id: String,
|
475
|
+
?do_not_invoice: bool,
|
470
476
|
?recurring_schedule: MetronomeSDK::V1::ContractAmendParams::Commit::InvoiceSchedule::RecurringSchedule,
|
471
477
|
?schedule_items: ::Array[MetronomeSDK::V1::ContractAmendParams::Commit::InvoiceSchedule::ScheduleItem]
|
472
478
|
) -> void
|
473
479
|
|
474
480
|
def to_hash: -> {
|
475
481
|
credit_type_id: String,
|
482
|
+
do_not_invoice: bool,
|
476
483
|
recurring_schedule: MetronomeSDK::V1::ContractAmendParams::Commit::InvoiceSchedule::RecurringSchedule,
|
477
484
|
schedule_items: ::Array[MetronomeSDK::V1::ContractAmendParams::Commit::InvoiceSchedule::ScheduleItem]
|
478
485
|
}
|
@@ -667,7 +674,8 @@ module MetronomeSDK
|
|
667
674
|
type stripe_config =
|
668
675
|
{
|
669
676
|
payment_type: MetronomeSDK::Models::V1::ContractAmendParams::Commit::PaymentGateConfig::StripeConfig::payment_type,
|
670
|
-
invoice_metadata: ::Hash[Symbol, String]
|
677
|
+
invoice_metadata: ::Hash[Symbol, String],
|
678
|
+
on_session_payment: bool
|
671
679
|
}
|
672
680
|
|
673
681
|
class StripeConfig < MetronomeSDK::Internal::Type::BaseModel
|
@@ -679,14 +687,20 @@ module MetronomeSDK
|
|
679
687
|
::Hash[Symbol, String]
|
680
688
|
) -> ::Hash[Symbol, String]
|
681
689
|
|
690
|
+
attr_reader on_session_payment: bool?
|
691
|
+
|
692
|
+
def on_session_payment=: (bool) -> bool
|
693
|
+
|
682
694
|
def initialize: (
|
683
695
|
payment_type: MetronomeSDK::Models::V1::ContractAmendParams::Commit::PaymentGateConfig::StripeConfig::payment_type,
|
684
|
-
?invoice_metadata: ::Hash[Symbol, String]
|
696
|
+
?invoice_metadata: ::Hash[Symbol, String],
|
697
|
+
?on_session_payment: bool
|
685
698
|
) -> void
|
686
699
|
|
687
700
|
def to_hash: -> {
|
688
701
|
payment_type: MetronomeSDK::Models::V1::ContractAmendParams::Commit::PaymentGateConfig::StripeConfig::payment_type,
|
689
|
-
invoice_metadata: ::Hash[Symbol, String]
|
702
|
+
invoice_metadata: ::Hash[Symbol, String],
|
703
|
+
on_session_payment: bool
|
690
704
|
}
|
691
705
|
|
692
706
|
type payment_type = :INVOICE | :PAYMENT_INTENT
|
@@ -1130,6 +1144,7 @@ module MetronomeSDK
|
|
1130
1144
|
type schedule =
|
1131
1145
|
{
|
1132
1146
|
credit_type_id: String,
|
1147
|
+
do_not_invoice: bool,
|
1133
1148
|
recurring_schedule: MetronomeSDK::V1::ContractAmendParams::Discount::Schedule::RecurringSchedule,
|
1134
1149
|
schedule_items: ::Array[MetronomeSDK::V1::ContractAmendParams::Discount::Schedule::ScheduleItem]
|
1135
1150
|
}
|
@@ -1139,6 +1154,10 @@ module MetronomeSDK
|
|
1139
1154
|
|
1140
1155
|
def credit_type_id=: (String) -> String
|
1141
1156
|
|
1157
|
+
attr_reader do_not_invoice: bool?
|
1158
|
+
|
1159
|
+
def do_not_invoice=: (bool) -> bool
|
1160
|
+
|
1142
1161
|
attr_reader recurring_schedule: MetronomeSDK::V1::ContractAmendParams::Discount::Schedule::RecurringSchedule?
|
1143
1162
|
|
1144
1163
|
def recurring_schedule=: (
|
@@ -1153,12 +1172,14 @@ module MetronomeSDK
|
|
1153
1172
|
|
1154
1173
|
def initialize: (
|
1155
1174
|
?credit_type_id: String,
|
1175
|
+
?do_not_invoice: bool,
|
1156
1176
|
?recurring_schedule: MetronomeSDK::V1::ContractAmendParams::Discount::Schedule::RecurringSchedule,
|
1157
1177
|
?schedule_items: ::Array[MetronomeSDK::V1::ContractAmendParams::Discount::Schedule::ScheduleItem]
|
1158
1178
|
) -> void
|
1159
1179
|
|
1160
1180
|
def to_hash: -> {
|
1161
1181
|
credit_type_id: String,
|
1182
|
+
do_not_invoice: bool,
|
1162
1183
|
recurring_schedule: MetronomeSDK::V1::ContractAmendParams::Discount::Schedule::RecurringSchedule,
|
1163
1184
|
schedule_items: ::Array[MetronomeSDK::V1::ContractAmendParams::Discount::Schedule::ScheduleItem]
|
1164
1185
|
}
|
@@ -1796,6 +1817,7 @@ module MetronomeSDK
|
|
1796
1817
|
{
|
1797
1818
|
product_id: String,
|
1798
1819
|
schedule: MetronomeSDK::V1::ContractAmendParams::ScheduledCharge::Schedule,
|
1820
|
+
custom_fields: ::Hash[Symbol, String],
|
1799
1821
|
name: String,
|
1800
1822
|
netsuite_sales_order_id: String
|
1801
1823
|
}
|
@@ -1805,6 +1827,10 @@ module MetronomeSDK
|
|
1805
1827
|
|
1806
1828
|
attr_accessor schedule: MetronomeSDK::V1::ContractAmendParams::ScheduledCharge::Schedule
|
1807
1829
|
|
1830
|
+
attr_reader custom_fields: ::Hash[Symbol, String]?
|
1831
|
+
|
1832
|
+
def custom_fields=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
|
1833
|
+
|
1808
1834
|
attr_reader name: String?
|
1809
1835
|
|
1810
1836
|
def name=: (String) -> String
|
@@ -1816,6 +1842,7 @@ module MetronomeSDK
|
|
1816
1842
|
def initialize: (
|
1817
1843
|
product_id: String,
|
1818
1844
|
schedule: MetronomeSDK::V1::ContractAmendParams::ScheduledCharge::Schedule,
|
1845
|
+
?custom_fields: ::Hash[Symbol, String],
|
1819
1846
|
?name: String,
|
1820
1847
|
?netsuite_sales_order_id: String
|
1821
1848
|
) -> void
|
@@ -1823,6 +1850,7 @@ module MetronomeSDK
|
|
1823
1850
|
def to_hash: -> {
|
1824
1851
|
product_id: String,
|
1825
1852
|
schedule: MetronomeSDK::V1::ContractAmendParams::ScheduledCharge::Schedule,
|
1853
|
+
custom_fields: ::Hash[Symbol, String],
|
1826
1854
|
name: String,
|
1827
1855
|
netsuite_sales_order_id: String
|
1828
1856
|
}
|
@@ -1830,6 +1858,7 @@ module MetronomeSDK
|
|
1830
1858
|
type schedule =
|
1831
1859
|
{
|
1832
1860
|
credit_type_id: String,
|
1861
|
+
do_not_invoice: bool,
|
1833
1862
|
recurring_schedule: MetronomeSDK::V1::ContractAmendParams::ScheduledCharge::Schedule::RecurringSchedule,
|
1834
1863
|
schedule_items: ::Array[MetronomeSDK::V1::ContractAmendParams::ScheduledCharge::Schedule::ScheduleItem]
|
1835
1864
|
}
|
@@ -1839,6 +1868,10 @@ module MetronomeSDK
|
|
1839
1868
|
|
1840
1869
|
def credit_type_id=: (String) -> String
|
1841
1870
|
|
1871
|
+
attr_reader do_not_invoice: bool?
|
1872
|
+
|
1873
|
+
def do_not_invoice=: (bool) -> bool
|
1874
|
+
|
1842
1875
|
attr_reader recurring_schedule: MetronomeSDK::V1::ContractAmendParams::ScheduledCharge::Schedule::RecurringSchedule?
|
1843
1876
|
|
1844
1877
|
def recurring_schedule=: (
|
@@ -1853,12 +1886,14 @@ module MetronomeSDK
|
|
1853
1886
|
|
1854
1887
|
def initialize: (
|
1855
1888
|
?credit_type_id: String,
|
1889
|
+
?do_not_invoice: bool,
|
1856
1890
|
?recurring_schedule: MetronomeSDK::V1::ContractAmendParams::ScheduledCharge::Schedule::RecurringSchedule,
|
1857
1891
|
?schedule_items: ::Array[MetronomeSDK::V1::ContractAmendParams::ScheduledCharge::Schedule::ScheduleItem]
|
1858
1892
|
) -> void
|
1859
1893
|
|
1860
1894
|
def to_hash: -> {
|
1861
1895
|
credit_type_id: String,
|
1896
|
+
do_not_invoice: bool,
|
1862
1897
|
recurring_schedule: MetronomeSDK::V1::ContractAmendParams::ScheduledCharge::Schedule::RecurringSchedule,
|
1863
1898
|
schedule_items: ::Array[MetronomeSDK::V1::ContractAmendParams::ScheduledCharge::Schedule::ScheduleItem]
|
1864
1899
|
}
|
@@ -666,6 +666,7 @@ module MetronomeSDK
|
|
666
666
|
type invoice_schedule =
|
667
667
|
{
|
668
668
|
credit_type_id: String,
|
669
|
+
do_not_invoice: bool,
|
669
670
|
recurring_schedule: MetronomeSDK::V1::ContractCreateParams::Commit::InvoiceSchedule::RecurringSchedule,
|
670
671
|
schedule_items: ::Array[MetronomeSDK::V1::ContractCreateParams::Commit::InvoiceSchedule::ScheduleItem]
|
671
672
|
}
|
@@ -675,6 +676,10 @@ module MetronomeSDK
|
|
675
676
|
|
676
677
|
def credit_type_id=: (String) -> String
|
677
678
|
|
679
|
+
attr_reader do_not_invoice: bool?
|
680
|
+
|
681
|
+
def do_not_invoice=: (bool) -> bool
|
682
|
+
|
678
683
|
attr_reader recurring_schedule: MetronomeSDK::V1::ContractCreateParams::Commit::InvoiceSchedule::RecurringSchedule?
|
679
684
|
|
680
685
|
def recurring_schedule=: (
|
@@ -689,12 +694,14 @@ module MetronomeSDK
|
|
689
694
|
|
690
695
|
def initialize: (
|
691
696
|
?credit_type_id: String,
|
697
|
+
?do_not_invoice: bool,
|
692
698
|
?recurring_schedule: MetronomeSDK::V1::ContractCreateParams::Commit::InvoiceSchedule::RecurringSchedule,
|
693
699
|
?schedule_items: ::Array[MetronomeSDK::V1::ContractCreateParams::Commit::InvoiceSchedule::ScheduleItem]
|
694
700
|
) -> void
|
695
701
|
|
696
702
|
def to_hash: -> {
|
697
703
|
credit_type_id: String,
|
704
|
+
do_not_invoice: bool,
|
698
705
|
recurring_schedule: MetronomeSDK::V1::ContractCreateParams::Commit::InvoiceSchedule::RecurringSchedule,
|
699
706
|
schedule_items: ::Array[MetronomeSDK::V1::ContractCreateParams::Commit::InvoiceSchedule::ScheduleItem]
|
700
707
|
}
|
@@ -889,7 +896,8 @@ module MetronomeSDK
|
|
889
896
|
type stripe_config =
|
890
897
|
{
|
891
898
|
payment_type: MetronomeSDK::Models::V1::ContractCreateParams::Commit::PaymentGateConfig::StripeConfig::payment_type,
|
892
|
-
invoice_metadata: ::Hash[Symbol, String]
|
899
|
+
invoice_metadata: ::Hash[Symbol, String],
|
900
|
+
on_session_payment: bool
|
893
901
|
}
|
894
902
|
|
895
903
|
class StripeConfig < MetronomeSDK::Internal::Type::BaseModel
|
@@ -901,14 +909,20 @@ module MetronomeSDK
|
|
901
909
|
::Hash[Symbol, String]
|
902
910
|
) -> ::Hash[Symbol, String]
|
903
911
|
|
912
|
+
attr_reader on_session_payment: bool?
|
913
|
+
|
914
|
+
def on_session_payment=: (bool) -> bool
|
915
|
+
|
904
916
|
def initialize: (
|
905
917
|
payment_type: MetronomeSDK::Models::V1::ContractCreateParams::Commit::PaymentGateConfig::StripeConfig::payment_type,
|
906
|
-
?invoice_metadata: ::Hash[Symbol, String]
|
918
|
+
?invoice_metadata: ::Hash[Symbol, String],
|
919
|
+
?on_session_payment: bool
|
907
920
|
) -> void
|
908
921
|
|
909
922
|
def to_hash: -> {
|
910
923
|
payment_type: MetronomeSDK::Models::V1::ContractCreateParams::Commit::PaymentGateConfig::StripeConfig::payment_type,
|
911
|
-
invoice_metadata: ::Hash[Symbol, String]
|
924
|
+
invoice_metadata: ::Hash[Symbol, String],
|
925
|
+
on_session_payment: bool
|
912
926
|
}
|
913
927
|
|
914
928
|
type payment_type = :INVOICE | :PAYMENT_INTENT
|
@@ -1352,6 +1366,7 @@ module MetronomeSDK
|
|
1352
1366
|
type schedule =
|
1353
1367
|
{
|
1354
1368
|
credit_type_id: String,
|
1369
|
+
do_not_invoice: bool,
|
1355
1370
|
recurring_schedule: MetronomeSDK::V1::ContractCreateParams::Discount::Schedule::RecurringSchedule,
|
1356
1371
|
schedule_items: ::Array[MetronomeSDK::V1::ContractCreateParams::Discount::Schedule::ScheduleItem]
|
1357
1372
|
}
|
@@ -1361,6 +1376,10 @@ module MetronomeSDK
|
|
1361
1376
|
|
1362
1377
|
def credit_type_id=: (String) -> String
|
1363
1378
|
|
1379
|
+
attr_reader do_not_invoice: bool?
|
1380
|
+
|
1381
|
+
def do_not_invoice=: (bool) -> bool
|
1382
|
+
|
1364
1383
|
attr_reader recurring_schedule: MetronomeSDK::V1::ContractCreateParams::Discount::Schedule::RecurringSchedule?
|
1365
1384
|
|
1366
1385
|
def recurring_schedule=: (
|
@@ -1375,12 +1394,14 @@ module MetronomeSDK
|
|
1375
1394
|
|
1376
1395
|
def initialize: (
|
1377
1396
|
?credit_type_id: String,
|
1397
|
+
?do_not_invoice: bool,
|
1378
1398
|
?recurring_schedule: MetronomeSDK::V1::ContractCreateParams::Discount::Schedule::RecurringSchedule,
|
1379
1399
|
?schedule_items: ::Array[MetronomeSDK::V1::ContractCreateParams::Discount::Schedule::ScheduleItem]
|
1380
1400
|
) -> void
|
1381
1401
|
|
1382
1402
|
def to_hash: -> {
|
1383
1403
|
credit_type_id: String,
|
1404
|
+
do_not_invoice: bool,
|
1384
1405
|
recurring_schedule: MetronomeSDK::V1::ContractCreateParams::Discount::Schedule::RecurringSchedule,
|
1385
1406
|
schedule_items: ::Array[MetronomeSDK::V1::ContractCreateParams::Discount::Schedule::ScheduleItem]
|
1386
1407
|
}
|
@@ -2190,6 +2211,7 @@ module MetronomeSDK
|
|
2190
2211
|
recurrence_frequency: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCommit::recurrence_frequency,
|
2191
2212
|
rollover_fraction: Float,
|
2192
2213
|
specifiers: ::Array[MetronomeSDK::V1::ContractCreateParams::RecurringCommit::Specifier],
|
2214
|
+
subscription_config: MetronomeSDK::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig,
|
2193
2215
|
temporary_id: String
|
2194
2216
|
}
|
2195
2217
|
|
@@ -2268,6 +2290,12 @@ module MetronomeSDK
|
|
2268
2290
|
::Array[MetronomeSDK::V1::ContractCreateParams::RecurringCommit::Specifier]
|
2269
2291
|
) -> ::Array[MetronomeSDK::V1::ContractCreateParams::RecurringCommit::Specifier]
|
2270
2292
|
|
2293
|
+
attr_reader subscription_config: MetronomeSDK::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig?
|
2294
|
+
|
2295
|
+
def subscription_config=: (
|
2296
|
+
MetronomeSDK::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig
|
2297
|
+
) -> MetronomeSDK::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig
|
2298
|
+
|
2271
2299
|
attr_reader temporary_id: String?
|
2272
2300
|
|
2273
2301
|
def temporary_id=: (String) -> String
|
@@ -2291,6 +2319,7 @@ module MetronomeSDK
|
|
2291
2319
|
?recurrence_frequency: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCommit::recurrence_frequency,
|
2292
2320
|
?rollover_fraction: Float,
|
2293
2321
|
?specifiers: ::Array[MetronomeSDK::V1::ContractCreateParams::RecurringCommit::Specifier],
|
2322
|
+
?subscription_config: MetronomeSDK::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig,
|
2294
2323
|
?temporary_id: String
|
2295
2324
|
) -> void
|
2296
2325
|
|
@@ -2313,6 +2342,7 @@ module MetronomeSDK
|
|
2313
2342
|
recurrence_frequency: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCommit::recurrence_frequency,
|
2314
2343
|
rollover_fraction: Float,
|
2315
2344
|
specifiers: ::Array[MetronomeSDK::V1::ContractCreateParams::RecurringCommit::Specifier],
|
2345
|
+
subscription_config: MetronomeSDK::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig,
|
2316
2346
|
temporary_id: String
|
2317
2347
|
}
|
2318
2348
|
|
@@ -2594,6 +2624,57 @@ module MetronomeSDK
|
|
2594
2624
|
product_tags: ::Array[String]
|
2595
2625
|
}
|
2596
2626
|
end
|
2627
|
+
|
2628
|
+
type subscription_config =
|
2629
|
+
{
|
2630
|
+
apply_seat_increase_config: MetronomeSDK::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig::ApplySeatIncreaseConfig,
|
2631
|
+
subscription_id: String,
|
2632
|
+
allocation: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig::allocation
|
2633
|
+
}
|
2634
|
+
|
2635
|
+
class SubscriptionConfig < MetronomeSDK::Internal::Type::BaseModel
|
2636
|
+
attr_accessor apply_seat_increase_config: MetronomeSDK::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig::ApplySeatIncreaseConfig
|
2637
|
+
|
2638
|
+
attr_accessor subscription_id: String
|
2639
|
+
|
2640
|
+
attr_reader allocation: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig::allocation?
|
2641
|
+
|
2642
|
+
def allocation=: (
|
2643
|
+
MetronomeSDK::Models::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig::allocation
|
2644
|
+
) -> MetronomeSDK::Models::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig::allocation
|
2645
|
+
|
2646
|
+
def initialize: (
|
2647
|
+
apply_seat_increase_config: MetronomeSDK::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig::ApplySeatIncreaseConfig,
|
2648
|
+
subscription_id: String,
|
2649
|
+
?allocation: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig::allocation
|
2650
|
+
) -> void
|
2651
|
+
|
2652
|
+
def to_hash: -> {
|
2653
|
+
apply_seat_increase_config: MetronomeSDK::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig::ApplySeatIncreaseConfig,
|
2654
|
+
subscription_id: String,
|
2655
|
+
allocation: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig::allocation
|
2656
|
+
}
|
2657
|
+
|
2658
|
+
type apply_seat_increase_config = { is_prorated: bool }
|
2659
|
+
|
2660
|
+
class ApplySeatIncreaseConfig < MetronomeSDK::Internal::Type::BaseModel
|
2661
|
+
attr_accessor is_prorated: bool
|
2662
|
+
|
2663
|
+
def initialize: (is_prorated: bool) -> void
|
2664
|
+
|
2665
|
+
def to_hash: -> { is_prorated: bool }
|
2666
|
+
end
|
2667
|
+
|
2668
|
+
type allocation = :POOLED
|
2669
|
+
|
2670
|
+
module Allocation
|
2671
|
+
extend MetronomeSDK::Internal::Type::Enum
|
2672
|
+
|
2673
|
+
POOLED: :POOLED
|
2674
|
+
|
2675
|
+
def self?.values: -> ::Array[MetronomeSDK::Models::V1::ContractCreateParams::RecurringCommit::SubscriptionConfig::allocation]
|
2676
|
+
end
|
2677
|
+
end
|
2597
2678
|
end
|
2598
2679
|
|
2599
2680
|
type recurring_credit =
|
@@ -2615,6 +2696,7 @@ module MetronomeSDK
|
|
2615
2696
|
recurrence_frequency: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCredit::recurrence_frequency,
|
2616
2697
|
rollover_fraction: Float,
|
2617
2698
|
specifiers: ::Array[MetronomeSDK::V1::ContractCreateParams::RecurringCredit::Specifier],
|
2699
|
+
subscription_config: MetronomeSDK::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig,
|
2618
2700
|
temporary_id: String
|
2619
2701
|
}
|
2620
2702
|
|
@@ -2687,6 +2769,12 @@ module MetronomeSDK
|
|
2687
2769
|
::Array[MetronomeSDK::V1::ContractCreateParams::RecurringCredit::Specifier]
|
2688
2770
|
) -> ::Array[MetronomeSDK::V1::ContractCreateParams::RecurringCredit::Specifier]
|
2689
2771
|
|
2772
|
+
attr_reader subscription_config: MetronomeSDK::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig?
|
2773
|
+
|
2774
|
+
def subscription_config=: (
|
2775
|
+
MetronomeSDK::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig
|
2776
|
+
) -> MetronomeSDK::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig
|
2777
|
+
|
2690
2778
|
attr_reader temporary_id: String?
|
2691
2779
|
|
2692
2780
|
def temporary_id=: (String) -> String
|
@@ -2709,6 +2797,7 @@ module MetronomeSDK
|
|
2709
2797
|
?recurrence_frequency: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCredit::recurrence_frequency,
|
2710
2798
|
?rollover_fraction: Float,
|
2711
2799
|
?specifiers: ::Array[MetronomeSDK::V1::ContractCreateParams::RecurringCredit::Specifier],
|
2800
|
+
?subscription_config: MetronomeSDK::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig,
|
2712
2801
|
?temporary_id: String
|
2713
2802
|
) -> void
|
2714
2803
|
|
@@ -2730,6 +2819,7 @@ module MetronomeSDK
|
|
2730
2819
|
recurrence_frequency: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCredit::recurrence_frequency,
|
2731
2820
|
rollover_fraction: Float,
|
2732
2821
|
specifiers: ::Array[MetronomeSDK::V1::ContractCreateParams::RecurringCredit::Specifier],
|
2822
|
+
subscription_config: MetronomeSDK::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig,
|
2733
2823
|
temporary_id: String
|
2734
2824
|
}
|
2735
2825
|
|
@@ -2988,6 +3078,57 @@ module MetronomeSDK
|
|
2988
3078
|
product_tags: ::Array[String]
|
2989
3079
|
}
|
2990
3080
|
end
|
3081
|
+
|
3082
|
+
type subscription_config =
|
3083
|
+
{
|
3084
|
+
apply_seat_increase_config: MetronomeSDK::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig::ApplySeatIncreaseConfig,
|
3085
|
+
subscription_id: String,
|
3086
|
+
allocation: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig::allocation
|
3087
|
+
}
|
3088
|
+
|
3089
|
+
class SubscriptionConfig < MetronomeSDK::Internal::Type::BaseModel
|
3090
|
+
attr_accessor apply_seat_increase_config: MetronomeSDK::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig::ApplySeatIncreaseConfig
|
3091
|
+
|
3092
|
+
attr_accessor subscription_id: String
|
3093
|
+
|
3094
|
+
attr_reader allocation: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig::allocation?
|
3095
|
+
|
3096
|
+
def allocation=: (
|
3097
|
+
MetronomeSDK::Models::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig::allocation
|
3098
|
+
) -> MetronomeSDK::Models::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig::allocation
|
3099
|
+
|
3100
|
+
def initialize: (
|
3101
|
+
apply_seat_increase_config: MetronomeSDK::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig::ApplySeatIncreaseConfig,
|
3102
|
+
subscription_id: String,
|
3103
|
+
?allocation: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig::allocation
|
3104
|
+
) -> void
|
3105
|
+
|
3106
|
+
def to_hash: -> {
|
3107
|
+
apply_seat_increase_config: MetronomeSDK::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig::ApplySeatIncreaseConfig,
|
3108
|
+
subscription_id: String,
|
3109
|
+
allocation: MetronomeSDK::Models::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig::allocation
|
3110
|
+
}
|
3111
|
+
|
3112
|
+
type apply_seat_increase_config = { is_prorated: bool }
|
3113
|
+
|
3114
|
+
class ApplySeatIncreaseConfig < MetronomeSDK::Internal::Type::BaseModel
|
3115
|
+
attr_accessor is_prorated: bool
|
3116
|
+
|
3117
|
+
def initialize: (is_prorated: bool) -> void
|
3118
|
+
|
3119
|
+
def to_hash: -> { is_prorated: bool }
|
3120
|
+
end
|
3121
|
+
|
3122
|
+
type allocation = :POOLED
|
3123
|
+
|
3124
|
+
module Allocation
|
3125
|
+
extend MetronomeSDK::Internal::Type::Enum
|
3126
|
+
|
3127
|
+
POOLED: :POOLED
|
3128
|
+
|
3129
|
+
def self?.values: -> ::Array[MetronomeSDK::Models::V1::ContractCreateParams::RecurringCredit::SubscriptionConfig::allocation]
|
3130
|
+
end
|
3131
|
+
end
|
2991
3132
|
end
|
2992
3133
|
|
2993
3134
|
type reseller_royalty =
|
@@ -3137,6 +3278,7 @@ module MetronomeSDK
|
|
3137
3278
|
{
|
3138
3279
|
product_id: String,
|
3139
3280
|
schedule: MetronomeSDK::V1::ContractCreateParams::ScheduledCharge::Schedule,
|
3281
|
+
custom_fields: ::Hash[Symbol, String],
|
3140
3282
|
name: String,
|
3141
3283
|
netsuite_sales_order_id: String
|
3142
3284
|
}
|
@@ -3146,6 +3288,10 @@ module MetronomeSDK
|
|
3146
3288
|
|
3147
3289
|
attr_accessor schedule: MetronomeSDK::V1::ContractCreateParams::ScheduledCharge::Schedule
|
3148
3290
|
|
3291
|
+
attr_reader custom_fields: ::Hash[Symbol, String]?
|
3292
|
+
|
3293
|
+
def custom_fields=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
|
3294
|
+
|
3149
3295
|
attr_reader name: String?
|
3150
3296
|
|
3151
3297
|
def name=: (String) -> String
|
@@ -3157,6 +3303,7 @@ module MetronomeSDK
|
|
3157
3303
|
def initialize: (
|
3158
3304
|
product_id: String,
|
3159
3305
|
schedule: MetronomeSDK::V1::ContractCreateParams::ScheduledCharge::Schedule,
|
3306
|
+
?custom_fields: ::Hash[Symbol, String],
|
3160
3307
|
?name: String,
|
3161
3308
|
?netsuite_sales_order_id: String
|
3162
3309
|
) -> void
|
@@ -3164,6 +3311,7 @@ module MetronomeSDK
|
|
3164
3311
|
def to_hash: -> {
|
3165
3312
|
product_id: String,
|
3166
3313
|
schedule: MetronomeSDK::V1::ContractCreateParams::ScheduledCharge::Schedule,
|
3314
|
+
custom_fields: ::Hash[Symbol, String],
|
3167
3315
|
name: String,
|
3168
3316
|
netsuite_sales_order_id: String
|
3169
3317
|
}
|
@@ -3171,6 +3319,7 @@ module MetronomeSDK
|
|
3171
3319
|
type schedule =
|
3172
3320
|
{
|
3173
3321
|
credit_type_id: String,
|
3322
|
+
do_not_invoice: bool,
|
3174
3323
|
recurring_schedule: MetronomeSDK::V1::ContractCreateParams::ScheduledCharge::Schedule::RecurringSchedule,
|
3175
3324
|
schedule_items: ::Array[MetronomeSDK::V1::ContractCreateParams::ScheduledCharge::Schedule::ScheduleItem]
|
3176
3325
|
}
|
@@ -3180,6 +3329,10 @@ module MetronomeSDK
|
|
3180
3329
|
|
3181
3330
|
def credit_type_id=: (String) -> String
|
3182
3331
|
|
3332
|
+
attr_reader do_not_invoice: bool?
|
3333
|
+
|
3334
|
+
def do_not_invoice=: (bool) -> bool
|
3335
|
+
|
3183
3336
|
attr_reader recurring_schedule: MetronomeSDK::V1::ContractCreateParams::ScheduledCharge::Schedule::RecurringSchedule?
|
3184
3337
|
|
3185
3338
|
def recurring_schedule=: (
|
@@ -3194,12 +3347,14 @@ module MetronomeSDK
|
|
3194
3347
|
|
3195
3348
|
def initialize: (
|
3196
3349
|
?credit_type_id: String,
|
3350
|
+
?do_not_invoice: bool,
|
3197
3351
|
?recurring_schedule: MetronomeSDK::V1::ContractCreateParams::ScheduledCharge::Schedule::RecurringSchedule,
|
3198
3352
|
?schedule_items: ::Array[MetronomeSDK::V1::ContractCreateParams::ScheduledCharge::Schedule::ScheduleItem]
|
3199
3353
|
) -> void
|
3200
3354
|
|
3201
3355
|
def to_hash: -> {
|
3202
3356
|
credit_type_id: String,
|
3357
|
+
do_not_invoice: bool,
|
3203
3358
|
recurring_schedule: MetronomeSDK::V1::ContractCreateParams::ScheduledCharge::Schedule::RecurringSchedule,
|
3204
3359
|
schedule_items: ::Array[MetronomeSDK::V1::ContractCreateParams::ScheduledCharge::Schedule::ScheduleItem]
|
3205
3360
|
}
|
@@ -3522,7 +3677,8 @@ module MetronomeSDK
|
|
3522
3677
|
description: String,
|
3523
3678
|
ending_before: Time,
|
3524
3679
|
name: String,
|
3525
|
-
starting_at: Time
|
3680
|
+
starting_at: Time,
|
3681
|
+
temporary_id: String
|
3526
3682
|
}
|
3527
3683
|
|
3528
3684
|
class Subscription < MetronomeSDK::Internal::Type::BaseModel
|
@@ -3554,6 +3710,10 @@ module MetronomeSDK
|
|
3554
3710
|
|
3555
3711
|
def starting_at=: (Time) -> Time
|
3556
3712
|
|
3713
|
+
attr_reader temporary_id: String?
|
3714
|
+
|
3715
|
+
def temporary_id=: (String) -> String
|
3716
|
+
|
3557
3717
|
def initialize: (
|
3558
3718
|
collection_schedule: MetronomeSDK::Models::V1::ContractCreateParams::Subscription::collection_schedule,
|
3559
3719
|
initial_quantity: Float,
|
@@ -3563,7 +3723,8 @@ module MetronomeSDK
|
|
3563
3723
|
?description: String,
|
3564
3724
|
?ending_before: Time,
|
3565
3725
|
?name: String,
|
3566
|
-
?starting_at: Time
|
3726
|
+
?starting_at: Time,
|
3727
|
+
?temporary_id: String
|
3567
3728
|
) -> void
|
3568
3729
|
|
3569
3730
|
def to_hash: -> {
|
@@ -3575,7 +3736,8 @@ module MetronomeSDK
|
|
3575
3736
|
description: String,
|
3576
3737
|
ending_before: Time,
|
3577
3738
|
name: String,
|
3578
|
-
starting_at: Time
|
3739
|
+
starting_at: Time,
|
3740
|
+
temporary_id: String
|
3579
3741
|
}
|
3580
3742
|
|
3581
3743
|
type collection_schedule = :ADVANCE | :ARREARS
|
@@ -9,6 +9,7 @@ module MetronomeSDK
|
|
9
9
|
billable_metric_id: String,
|
10
10
|
composite_product_ids: ::Array[String],
|
11
11
|
composite_tags: ::Array[String],
|
12
|
+
custom_fields: ::Hash[Symbol, String],
|
12
13
|
exclude_free_usage: bool,
|
13
14
|
is_refundable: bool,
|
14
15
|
netsuite_internal_item_id: String,
|
@@ -41,6 +42,10 @@ module MetronomeSDK
|
|
41
42
|
|
42
43
|
def composite_tags=: (::Array[String]) -> ::Array[String]
|
43
44
|
|
45
|
+
attr_reader custom_fields: ::Hash[Symbol, String]?
|
46
|
+
|
47
|
+
def custom_fields=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
|
48
|
+
|
44
49
|
attr_reader exclude_free_usage: bool?
|
45
50
|
|
46
51
|
def exclude_free_usage=: (bool) -> bool
|
@@ -79,6 +84,7 @@ module MetronomeSDK
|
|
79
84
|
?billable_metric_id: String,
|
80
85
|
?composite_product_ids: ::Array[String],
|
81
86
|
?composite_tags: ::Array[String],
|
87
|
+
?custom_fields: ::Hash[Symbol, String],
|
82
88
|
?exclude_free_usage: bool,
|
83
89
|
?is_refundable: bool,
|
84
90
|
?netsuite_internal_item_id: String,
|
@@ -97,6 +103,7 @@ module MetronomeSDK
|
|
97
103
|
billable_metric_id: String,
|
98
104
|
composite_product_ids: ::Array[String],
|
99
105
|
composite_tags: ::Array[String],
|
106
|
+
custom_fields: ::Hash[Symbol, String],
|
100
107
|
exclude_free_usage: bool,
|
101
108
|
is_refundable: bool,
|
102
109
|
netsuite_internal_item_id: String,
|
@@ -202,6 +202,7 @@ module MetronomeSDK
|
|
202
202
|
type invoice_schedule =
|
203
203
|
{
|
204
204
|
credit_type_id: String,
|
205
|
+
do_not_invoice: bool,
|
205
206
|
recurring_schedule: MetronomeSDK::V1::Customers::CommitCreateParams::InvoiceSchedule::RecurringSchedule,
|
206
207
|
schedule_items: ::Array[MetronomeSDK::V1::Customers::CommitCreateParams::InvoiceSchedule::ScheduleItem]
|
207
208
|
}
|
@@ -211,6 +212,10 @@ module MetronomeSDK
|
|
211
212
|
|
212
213
|
def credit_type_id=: (String) -> String
|
213
214
|
|
215
|
+
attr_reader do_not_invoice: bool?
|
216
|
+
|
217
|
+
def do_not_invoice=: (bool) -> bool
|
218
|
+
|
214
219
|
attr_reader recurring_schedule: MetronomeSDK::V1::Customers::CommitCreateParams::InvoiceSchedule::RecurringSchedule?
|
215
220
|
|
216
221
|
def recurring_schedule=: (
|
@@ -225,12 +230,14 @@ module MetronomeSDK
|
|
225
230
|
|
226
231
|
def initialize: (
|
227
232
|
?credit_type_id: String,
|
233
|
+
?do_not_invoice: bool,
|
228
234
|
?recurring_schedule: MetronomeSDK::V1::Customers::CommitCreateParams::InvoiceSchedule::RecurringSchedule,
|
229
235
|
?schedule_items: ::Array[MetronomeSDK::V1::Customers::CommitCreateParams::InvoiceSchedule::ScheduleItem]
|
230
236
|
) -> void
|
231
237
|
|
232
238
|
def to_hash: -> {
|
233
239
|
credit_type_id: String,
|
240
|
+
do_not_invoice: bool,
|
234
241
|
recurring_schedule: MetronomeSDK::V1::Customers::CommitCreateParams::InvoiceSchedule::RecurringSchedule,
|
235
242
|
schedule_items: ::Array[MetronomeSDK::V1::Customers::CommitCreateParams::InvoiceSchedule::ScheduleItem]
|
236
243
|
}
|