#cyoo

1 messages · Page 1 of 1 (latest)

tropic lionBOT
warm walrus
#

Is this the correct way to get in the InstallmentPlanNumber, if at all possible?

        if (charge != null) {
            String splitItInstallmentPlanId = Optional.ofNullable(charge)
                    .map(Charge::getMetadata)
                    .map(metaData -> metaData.get("InstallmentPlanNumber"))
                    .orElse(null);```
granite comet
warm walrus
#

Ok, so it is possible to get the metadata. That's good to know. I was just confused by what was meant by "You can search for the metadata through the dashboard but not through the API"