-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remi remove todos #962
Remi remove todos #962
Conversation
* Removed `GetBalanceTransaction` and `List` from the `balance` package. Prefer using `Get` and `List` in the `balancetransaction` package. * Removed `ApplicationFee` from the `charge` and `paymentintent` packages. Prefer using `ApplicationFeeAmount`. * Removed `TaxInfo` and related fields from the `customer` packager. Prefer using the `customertaxid` package. * Removed unsupported `Customer` parameter on `PaymentMethodParams` and `PaymentMethodDetachParams` in the `paymentmethod` package. * Removed `Billing` properties in the `invoice`, `sub` and `subschedule` packages. Prefer using `CollectionMethod`. * Removed the `InvoiceBilling` type from the `invoice` package. Prefer using `InvoiceCollectionMethod`. * Removed the `SubscriptionBilling` type from the `sub` package. Prefer using `SubscriptionCollectionMethod`. * Removed deprecated constants for `PaymentIntentConfirmationMethod` in `paymentintent` package. * Removed `OperatorAccount` from Terminal APIs. *
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question, but lgtm!
payout.go
Outdated
// object when retrieving | ||
func (d *PayoutDestination) MarshalJSON() ([]byte, error) { | ||
return json.Marshal(d.ID) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this no longer needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was done by brandur for another issue/PR but I had the wrong base branch
Remove TODOs and deprecated parts
GetBalanceTransaction
andList
from thebalance
package. Prefer usingGet
andList
in thebalancetransaction
package.ApplicationFee
from thecharge
andpaymentintent
packages. Prefer usingApplicationFeeAmount
.TaxInfo
and related fields from thecustomer
packager. Prefer using thecustomertaxid
package.Customer
parameter onPaymentMethodParams
andPaymentMethodDetachParams
in thepaymentmethod
package.Billing
properties in theinvoice
,sub
andsubschedule
packages. Prefer usingCollectionMethod
.InvoiceBilling
type from theinvoice
package. Prefer usingInvoiceCollectionMethod
.SubscriptionBilling
type from thesub
package. Prefer usingSubscriptionCollectionMethod
.PaymentIntentConfirmationMethod
inpaymentintent
package.OperatorAccount
from Terminal APIs.r? @ob-stripe
cc @stripe/api-libraries