Skip to content

v0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@calebkleveter calebkleveter released this 03 Dec 14:48
· 122 commits to master since this release
c4b0d39

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 and Amount structs with generic AmountType 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.