Hello Laxmi,
You can use EntityUtilProperties.getPropertyValue method.
e.g.
String valueLinkUrl =
EntityUtilProperties.getPropertyValue("payment.properties",
"payment.valuelink.merchantId", "default-value", delegator);
For more overloaded getPropertyValue method, please refer
https://github.com/apache/ofbiz/blob/7ba7f3c2e16df6c8db0d8114e124957199cea1ff/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityUtilProperties.java#L101
<https://github.com/apache/ofbiz/blob/7ba7f3c2e16df6c8db0d8114e124957199cea1ff/framework/entity/src/main/java/org/apache/ofbiz/entity/util/EntityUtilProperties.java#L101>
- Best Regards,
Swapnil M Mane,
http://www.hotwaxsystems.com
On Mon, Dec 4, 2017 at 11:43 AM, Deepak Dixit <
[email protected]> wrote:
> Hi Laxmi Bhardwaj,
>
> Your email has been moderated,
> Please subscribe mailing list http://ofbiz.apache.org/mailing-lists.html
>
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
> www.hotwax.co
>
>
> ---------- Forwarded message ----------
> From: Laxmi <[email protected]>
> To: [email protected]
> Cc:
> Bcc:
> Date: Sun, 3 Dec 2017 23:03:25 -0700 (MST)
> Subject: ValueLink Integration
> How can I get the values for below attributes mentioned in
> payment.properties?
>
> ############################################
> # ValueLink Configuration
> ############################################
>
> # Full merchant ID (MMMMMMMMMMM)
> payment.valuelink.merchantId=[MERCHANT_ID]
>
> # Terminal ID (should be different for each application server starting at
> 0001)
> payment.valuelink.terminalId=0001
>
> # Alternate merchant ID (i.e. store ID, etc)
> payment.valuelink.altMerchantId=999
>
> # Modes (SVDotRaw, Debug, etc) delimited by '/'
> payment.valuelink.modes=Debug/SVDotRaw
>
> # URL to use to communicate with ValueLink
> payment.valuelink.url=https://www.callit.com/vltest/api1.asp
>
> # Connection timeout in seconds
> payment.valuelink.timeout=34
>
> # Debug mode dumps all request/response info to the console (Y|N)
> payment.valuelink.debug=Y
>
> # Certificate alias to pass for client auth
> payment.valuelink.certificateAlias=
>
> # ValueLink Timestamp Format
> payment.valuelink.timestamp=ddMMyyyyHHmmss
>
> # Prime Modulus (P) for key generation (should be a hex string will be
> converted to unsigned BigInteger from byte array)
> payment.valuelink.prime=
>
> # Generator (G) for key generation (should be smaller then prime, so this
> should be in the form for a integer)
> payment.valuelink.generator=
>
> # ValueLink Public Value (128byte as Hex String)
> payment.valuelink.publicValue=
>
>
>
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-Dev-f165671.html
>