v0.2.0
Pre-release
Pre-release
No Environmental Variation
- Pass client ID and secret into
PayPalProvider
initializer for flexibility during app configuration, instead of requiring environment variables. - Remove all ID assignment from initializers.
- Made some types into sub-types, i.e. AgreementState => Agreement.State.
- Replaced
Money
andAmount
structs with genericAmountType
struct. - Created
Country
struct which encodes/decodes using a single value container to handle country code validation. - Created a
Province
enum that represents the states or provinces a country can have. - Extended
HTTPHeaderName
with custom PayPal headers.