How to pass an Enum like OAuthSignature.HTTPMethod as an argument to a Java method in ColdFusion?
Thank you.
Found it:
createObject("java","com.paypal.sdk.util.OAuthSignature$HTTPMethod")
Thanks to : http://www.aguyinagarage.com/2011/02/using-java-enums-from-coldfusion/
Reference: Java - Get reference to a static class using reflection
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With