Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | /* tslint:disable */ /* eslint-disable */ /** * Octane API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { exists, mapValues } from '../runtime'; /** * * @export * @interface CreateBillingSettingsInputArgs */ export interface CreateBillingSettingsInputArgs { /** * If using stripe, this field can be used to configure whether invoices should be auto advanced for collection * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ stripeAutoAdvance?: boolean; /** * List of days before an invoice is due to communicate upcoming due notices. * @type {Array<number>} * @memberof CreateBillingSettingsInputArgs */ upcomingReminderDaysArray?: Array<number> | null; /** * Flag that controls whether or not to invoice/charge gauge meters upfront according to their value at start of cycle. Only applies if invoice_fixed_components_at_start is enabled. * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ invoiceMeteredComponentsAtStart?: boolean; /** * ABA/Routing number for ACH/Wire transfer instructions * @type {string} * @memberof CreateBillingSettingsInputArgs */ achRoutingNumber?: string | null; /** * First line of bank address for ACH/Wire transfer instructions * @type {string} * @memberof CreateBillingSettingsInputArgs */ achBankAddress1?: string | null; /** * Flag that controls whether or not to invoice/charge a true up for a billing cycle on the following invoice. Only applies if invoice_fixed_components_at_start is enabled. * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ invoiceOverages?: boolean; /** * Flag that controls whether invoices are auto-approved or require manual approval * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ autoApproveInvoices?: boolean; /** * Flag that controls the number of retry attempts for invoicing/payments. * @type {number} * @memberof CreateBillingSettingsInputArgs */ retryAttempts?: number; /** * True if customer updates should be synced to Stripe. * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ syncCustomerDataToPaymentGateway?: boolean | null; /** * The percentage tax rate to apply to invoices. * @type {number} * @memberof CreateBillingSettingsInputArgs */ taxRate?: number | null; /** * If set, a minimum charge line item will override any line items that contribute to the minimum (i.e., the minimum charge line item would be the only line item). * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ shouldMinimumChargeOverrideLineItems?: boolean | null; /** * Flag determining whether ACH/Wire instructions should be included on invoices. * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ includeAchInstructions?: boolean | null; /** * Time length unit after which to attempt invoice/payment retry. * @type {string} * @memberof CreateBillingSettingsInputArgs */ retryFrequencyUnit?: string; /** * Swift code for ACH/Wire transfer instructions * @type {string} * @memberof CreateBillingSettingsInputArgs */ achSwiftCode?: string | null; /** * * @type {string} * @memberof CreateBillingSettingsInputArgs */ customerInvoiceDetailLevel?: string; /** * Time length of the grace period between the end of invoice generation and the actual charge. *NOTE*: The specified length is unitless. Unit is designated with the `payment_grace_period_unit` field. * @type {number} * @memberof CreateBillingSettingsInputArgs */ paymentGracePeriodLength?: number; /** * Flag that controls whether or not invoices should be sent to customers. * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ shouldSendInvoiceToCustomers?: boolean; /** * Flag that controls whether or not to auto-charge the customer based on the invoice. * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ chargesEnabled?: boolean; /** * Optional url of a custom image to include on invoices. * @type {string} * @memberof CreateBillingSettingsInputArgs */ invoiceLogoUrl?: string | null; /** * Flag that controls whether to invoice through Octane or through payment provider * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ invoiceViaOctane?: boolean; /** * List of days after an invoice is due to communicate past due notices. * @type {Array<number>} * @memberof CreateBillingSettingsInputArgs */ pastDueReminderDaysArray?: Array<number> | null; /** * Whether newly attached Stripe payment methods should be made the default for customers. * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ autoUpdateStripeDefaultPaymentMethod?: boolean | null; /** * Account name for ACH/Wire transfer instructions * @type {string} * @memberof CreateBillingSettingsInputArgs */ achAccountName?: string | null; /** * Account number for ACH/Wire transfer instructions * @type {string} * @memberof CreateBillingSettingsInputArgs */ achAccountNumber?: string | null; /** * If using Stripe, this field can be used to configure whether invoices should be finalized immediately when they are created. * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ stripeImmediateFinalization?: boolean | null; /** * Flag that controls whether or not to invoice/charge the base rate, add ons and other fixed price plan components at the beginning of the billing cycle. * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ invoiceFixedComponentsAtStart?: boolean; /** * Flag that controls whether to do automated taxes via payment provider * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ taxViaPaymentProvider?: boolean; /** * Time length unit of the grace period between the end of invoice generation and actual charge. One of `minute`, `hour`, `day`. * @type {string} * @memberof CreateBillingSettingsInputArgs */ paymentGracePeriodUnit?: string; /** * Time length after which to attempt invoice/payment retry. * @type {number} * @memberof CreateBillingSettingsInputArgs */ retryFrequencyLength?: number; /** * Optional description attached to the invoice * @type {string} * @memberof CreateBillingSettingsInputArgs */ invoiceMemo?: string | null; /** * Default value for whether to align billing cycles to calendar on subscriptions * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ alignBillingCyclesToCalendar?: boolean; /** * Second line of bank address for ACH/Wire transfer instructions * @type {string} * @memberof CreateBillingSettingsInputArgs */ achBankAddress2?: string | null; /** * Flag that controls whether to send receipts for paid invoices. * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ sendReceipts?: boolean | null; /** * Flag that controls whether to communicate payment failures. * @type {boolean} * @memberof CreateBillingSettingsInputArgs */ communicatePaymentFailures?: boolean | null; /** * Bank name for ACH/Wire transfer instructions * @type {string} * @memberof CreateBillingSettingsInputArgs */ achBankName?: string | null; /** * Sets the due date on invoices to the number of days after the invoice is sent * @type {number} * @memberof CreateBillingSettingsInputArgs */ daysUntilDue?: number | null; /** * Time length unit of the grace period between the end of a billing cycle and invoice generation. Must be `day`. * @type {string} * @memberof CreateBillingSettingsInputArgs */ invoiceGracePeriodUnit?: CreateBillingSettingsInputArgsInvoiceGracePeriodUnitEnum; /** * Time length of the grace period between the end of a billing cycle and invoice generation in days. * @type {number} * @memberof CreateBillingSettingsInputArgs */ invoiceGracePeriodLength?: number; } /** * @export * @enum {string} */ export enum CreateBillingSettingsInputArgsInvoiceGracePeriodUnitEnum { Day = 'day' } export function CreateBillingSettingsInputArgsFromJSON(json: any): CreateBillingSettingsInputArgs { return CreateBillingSettingsInputArgsFromJSONTyped(json, false); } export function CreateBillingSettingsInputArgsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBillingSettingsInputArgs { if ((json === undefined) || (json === null)) { return json; } return { 'stripeAutoAdvance': !exists(json, 'stripe_auto_advance') ? undefined : json['stripe_auto_advance'], 'upcomingReminderDaysArray': !exists(json, 'upcoming_reminder_days_array') ? undefined : json['upcoming_reminder_days_array'], 'invoiceMeteredComponentsAtStart': !exists(json, 'invoice_metered_components_at_start') ? undefined : json['invoice_metered_components_at_start'], 'achRoutingNumber': !exists(json, 'ach_routing_number') ? undefined : json['ach_routing_number'], 'achBankAddress1': !exists(json, 'ach_bank_address_1') ? undefined : json['ach_bank_address_1'], 'invoiceOverages': !exists(json, 'invoice_overages') ? undefined : json['invoice_overages'], 'autoApproveInvoices': !exists(json, 'auto_approve_invoices') ? undefined : json['auto_approve_invoices'], 'retryAttempts': !exists(json, 'retry_attempts') ? undefined : json['retry_attempts'], 'syncCustomerDataToPaymentGateway': !exists(json, 'sync_customer_data_to_payment_gateway') ? undefined : json['sync_customer_data_to_payment_gateway'], 'taxRate': !exists(json, 'tax_rate') ? undefined : json['tax_rate'], 'shouldMinimumChargeOverrideLineItems': !exists(json, 'should_minimum_charge_override_line_items') ? undefined : json['should_minimum_charge_override_line_items'], 'includeAchInstructions': !exists(json, 'include_ach_instructions') ? undefined : json['include_ach_instructions'], 'retryFrequencyUnit': !exists(json, 'retry_frequency_unit') ? undefined : json['retry_frequency_unit'], 'achSwiftCode': !exists(json, 'ach_swift_code') ? undefined : json['ach_swift_code'], 'customerInvoiceDetailLevel': !exists(json, 'customer_invoice_detail_level') ? undefined : json['customer_invoice_detail_level'], 'paymentGracePeriodLength': !exists(json, 'payment_grace_period_length') ? undefined : json['payment_grace_period_length'], 'shouldSendInvoiceToCustomers': !exists(json, 'should_send_invoice_to_customers') ? undefined : json['should_send_invoice_to_customers'], 'chargesEnabled': !exists(json, 'charges_enabled') ? undefined : json['charges_enabled'], 'invoiceLogoUrl': !exists(json, 'invoice_logo_url') ? undefined : json['invoice_logo_url'], 'invoiceViaOctane': !exists(json, 'invoice_via_octane') ? undefined : json['invoice_via_octane'], 'pastDueReminderDaysArray': !exists(json, 'past_due_reminder_days_array') ? undefined : json['past_due_reminder_days_array'], 'autoUpdateStripeDefaultPaymentMethod': !exists(json, 'auto_update_stripe_default_payment_method') ? undefined : json['auto_update_stripe_default_payment_method'], 'achAccountName': !exists(json, 'ach_account_name') ? undefined : json['ach_account_name'], 'achAccountNumber': !exists(json, 'ach_account_number') ? undefined : json['ach_account_number'], 'stripeImmediateFinalization': !exists(json, 'stripe_immediate_finalization') ? undefined : json['stripe_immediate_finalization'], 'invoiceFixedComponentsAtStart': !exists(json, 'invoice_fixed_components_at_start') ? undefined : json['invoice_fixed_components_at_start'], 'taxViaPaymentProvider': !exists(json, 'tax_via_payment_provider') ? undefined : json['tax_via_payment_provider'], 'paymentGracePeriodUnit': !exists(json, 'payment_grace_period_unit') ? undefined : json['payment_grace_period_unit'], 'retryFrequencyLength': !exists(json, 'retry_frequency_length') ? undefined : json['retry_frequency_length'], 'invoiceMemo': !exists(json, 'invoice_memo') ? undefined : json['invoice_memo'], 'alignBillingCyclesToCalendar': !exists(json, 'align_billing_cycles_to_calendar') ? undefined : json['align_billing_cycles_to_calendar'], 'achBankAddress2': !exists(json, 'ach_bank_address_2') ? undefined : json['ach_bank_address_2'], 'sendReceipts': !exists(json, 'send_receipts') ? undefined : json['send_receipts'], 'communicatePaymentFailures': !exists(json, 'communicate_payment_failures') ? undefined : json['communicate_payment_failures'], 'achBankName': !exists(json, 'ach_bank_name') ? undefined : json['ach_bank_name'], 'daysUntilDue': !exists(json, 'days_until_due') ? undefined : json['days_until_due'], 'invoiceGracePeriodUnit': !exists(json, 'invoice_grace_period_unit') ? undefined : json['invoice_grace_period_unit'], 'invoiceGracePeriodLength': !exists(json, 'invoice_grace_period_length') ? undefined : json['invoice_grace_period_length'], }; } export function CreateBillingSettingsInputArgsToJSON(value?: CreateBillingSettingsInputArgs | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'stripe_auto_advance': value.stripeAutoAdvance, 'upcoming_reminder_days_array': value.upcomingReminderDaysArray, 'invoice_metered_components_at_start': value.invoiceMeteredComponentsAtStart, 'ach_routing_number': value.achRoutingNumber, 'ach_bank_address_1': value.achBankAddress1, 'invoice_overages': value.invoiceOverages, 'auto_approve_invoices': value.autoApproveInvoices, 'retry_attempts': value.retryAttempts, 'sync_customer_data_to_payment_gateway': value.syncCustomerDataToPaymentGateway, 'tax_rate': value.taxRate, 'should_minimum_charge_override_line_items': value.shouldMinimumChargeOverrideLineItems, 'include_ach_instructions': value.includeAchInstructions, 'retry_frequency_unit': value.retryFrequencyUnit, 'ach_swift_code': value.achSwiftCode, 'customer_invoice_detail_level': value.customerInvoiceDetailLevel, 'payment_grace_period_length': value.paymentGracePeriodLength, 'should_send_invoice_to_customers': value.shouldSendInvoiceToCustomers, 'charges_enabled': value.chargesEnabled, 'invoice_logo_url': value.invoiceLogoUrl, 'invoice_via_octane': value.invoiceViaOctane, 'past_due_reminder_days_array': value.pastDueReminderDaysArray, 'auto_update_stripe_default_payment_method': value.autoUpdateStripeDefaultPaymentMethod, 'ach_account_name': value.achAccountName, 'ach_account_number': value.achAccountNumber, 'stripe_immediate_finalization': value.stripeImmediateFinalization, 'invoice_fixed_components_at_start': value.invoiceFixedComponentsAtStart, 'tax_via_payment_provider': value.taxViaPaymentProvider, 'payment_grace_period_unit': value.paymentGracePeriodUnit, 'retry_frequency_length': value.retryFrequencyLength, 'invoice_memo': value.invoiceMemo, 'align_billing_cycles_to_calendar': value.alignBillingCyclesToCalendar, 'ach_bank_address_2': value.achBankAddress2, 'send_receipts': value.sendReceipts, 'communicate_payment_failures': value.communicatePaymentFailures, 'ach_bank_name': value.achBankName, 'days_until_due': value.daysUntilDue, 'invoice_grace_period_unit': value.invoiceGracePeriodUnit, 'invoice_grace_period_length': value.invoiceGracePeriodLength, }; } |