wyyerd / stripe-rs

Rust API bindings for the Stripe HTTP API.
Apache License 2.0
223 stars 88 forks source link

Incorrect type for `CustomerInvoiceSettings.default_payment_method`? #134

Open saschat opened 4 years ago

saschat commented 4 years ago

Shouldn't the type be Option<PaymentMethodId> instead of Option<String>?

See: https://github.com/wyyerd/stripe-rs/blob/master/src/resources/customer.rs#L529