Skip to content

Commit

Permalink
Merge pull request #881 from stripe/tushar/billing-collection-method
Browse files Browse the repository at this point in the history
Doc changes for Collection Method
  • Loading branch information
remi-stripe authored Jun 25, 2019
2 parents 80e8b3a + e306697 commit c727acd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions invoice.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
InvoiceLineTypeSubscription InvoiceLineType = "subscription"
)

// InvoiceBilling is the type of billing method for this invoice.
// InvoiceBilling is the type of collection method for this invoice.
// This is considered deprecated. Use InvoiceCollectionMethod instead.
type InvoiceBilling string

Expand Down Expand Up @@ -47,10 +47,10 @@ const (
InvoiceBillingStatusVoid InvoiceBillingStatus = "void"
)

// InvoiceCollectionMethod is the type of billing method for this invoice.
// InvoiceCollectionMethod is the type of collection method for this invoice.
type InvoiceCollectionMethod string

// List of values that InvoiceBilling can take.
// List of values that InvoiceCollectionMethod can take.
const (
InvoiceCollectionMethodChargeAutomatically InvoiceCollectionMethod = "charge_automatically"
InvoiceCollectionMethodSendInvoice InvoiceCollectionMethod = "send_invoice"
Expand Down
6 changes: 3 additions & 3 deletions sub.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const (
SubscriptionStatusUnpaid SubscriptionStatus = "unpaid"
)

// SubscriptionBilling is the type of billing method for this subscription's invoices.
// SubscriptionBilling is the type of collection method for this subscription's invoices.
// This is considered deprecated. Use SubscriptionCollectionMethod instead.
type SubscriptionBilling string

Expand All @@ -31,10 +31,10 @@ const (
SubscriptionBillingSendInvoice SubscriptionBilling = "send_invoice"
)

// SubscriptionCollectionMethod is the type of billing method for this subscription's invoices.
// SubscriptionCollectionMethod is the type of collection method for this subscription's invoices.
type SubscriptionCollectionMethod string

// List of values that SubscriptionBilling can take.
// List of values that SubscriptionCollectionMethod can take.
const (
SubscriptionCollectionMethodChargeAutomatically SubscriptionCollectionMethod = "charge_automatically"
SubscriptionCollectionMethodSendInvoice SubscriptionCollectionMethod = "send_invoice"
Expand Down

0 comments on commit c727acd

Please sign in to comment.