From 7cbce0d911478a17b644ff98295280bafd694c81 Mon Sep 17 00:00:00 2001 From: Antoine Epardeau <3942141+toni07@users.noreply.github.com> Date: Wed, 8 Jan 2025 11:07:41 +0100 Subject: [PATCH] Make `PayInReferences` attributes readable and instantiable --- .../mangopay/core/enumerations/PayInReferences.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/java/com/mangopay/core/enumerations/PayInReferences.java b/src/main/java/com/mangopay/core/enumerations/PayInReferences.java index 55407d92..5055c4d4 100644 --- a/src/main/java/com/mangopay/core/enumerations/PayInReferences.java +++ b/src/main/java/com/mangopay/core/enumerations/PayInReferences.java @@ -5,4 +5,17 @@ public class PayInReferences { private String type; private String value; + + public PayInReferences(String type, String value) { + this.type = type; + this.value = value; + } + + public String getType() { + return type; + } + + public String getValue() { + return value; + } }