Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 939 Bytes

contributing.md

File metadata and controls

30 lines (19 loc) · 939 Bytes

Contributing to this library

🎉 Thanks for being interested in contributing to this library!

Basics

Technical guidelines

Request containers

  • Put mandatory properties into the constructor
  • No setters for data which is set in constructor

Note that some data seems to be mandatory, but is not marked as such in the Saferpay docs. We strictly follow the information in the Saferpay docs and keep all data optional unless Saferpay explicity marks it as mandatory.

Response containers

  • No constructors
  • No setters
  • All properties are optional

Even though in the Saferpay doc some data is marked as mandatory in responses, we keep them all optional in this library because it is not in our control whether this data will actually be provided or not.