Page History
...
The ru.assisttech.sdk.AssistPaymentData class, which allows you to set payment parameters, contains the following methods:
- void setMerchantId(String value) – the method allows you to set the identifier of the store, specifying the identifier of the store is mandatory;
- void setOrderNumber(String value) – the method allows you to set the order number, specifying the order number is mandatory;
- void setOrderAmount(String value) - the method allows you to set the order amount (the string value of the amount in kopecks is used), setting the order amount is mandatory;
- void setOrderCurrency(Currency value) - the method allows you to set the currency of the order;
- void setOrderComment(String value) - the method allows you to set a comment - a description of the payment;
- void setEmail(String value) - the method allows you to set the payer's e-mail address;
- void setAddress(String value) - the method allows you to set the payer's postal address;
- void setHomePhone(String value) - the method allows you to set the payer's home phone number;
- void setWorkPhone(String value) - the method allows you to set the payer's work phone number;
- void setMobilePhone(String value) - the method allows you to set the mobile phone number of the payer;
- void setFax(String value) - the method allows you to set the fax number of the payer;
- void setLastname(String value) - the method allows you to set the last name of the payer;
- void setFirstname(String value) - the method allows to set the first name of the payer;
- void setMiddlename(String value) - the method allows you to set the middle name of the payer;
- void setCountry(String value) - the method allows you to set the country of the payer;
- void setState(String value) - the method allows you to set the state (region);
- void setCity(String value) - the method allows you to set the city;
- void setZip(String value) - the method allows you to set the postal code;
- void setSignature(String value) - method allows you to set the parameter signature.
Note |
---|
Then the MD5 hash prepared from this string. Hash is signed by private RSA key of the merchant. Key length - 1024. Received bit sequence is a signature. Signature is transferred BASE64 coded string. |