Skip to content
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

Merged
merged 1 commit into from
Sep 27, 2019
Merged

Remi remove todos #962

merged 1 commit into from
Sep 27, 2019

Conversation

remi-stripe
Copy link
Contributor

Remove TODOs and deprecated parts

  • 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.

r? @ob-stripe
cc @stripe/api-libraries

* 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.
*
Copy link
Contributor

@ob-stripe ob-stripe left a 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)
}
Copy link
Contributor

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?

Copy link
Contributor Author

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

@stripe-ci stripe-ci assigned remi-stripe and unassigned ob-stripe Sep 25, 2019
@remi-stripe remi-stripe changed the base branch from master to integration-v64 September 26, 2019 21:28
@remi-stripe remi-stripe merged commit c3a4dec into integration-v64 Sep 27, 2019
@remi-stripe remi-stripe deleted the remi-remove-todos branch September 27, 2019 00:11
@brandur brandur mentioned this pull request Sep 27, 2019
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants