For example,
Charge.create()
is both public, and part of the published stripe API, while ChargeRefundCollectionDeserializer.deserialize()
is public, but not published. Developers using the Stripe library in their projects should not be using the deserializer directly, so Stripe should be able to change the signature of deserialize without breaking programs using the library.