Method that searches for the value of the terminal logos and the purchaser’s receipt that will later be encrypted.¶
This method should be called when you want to search for information about the terminal logos and the receipt previously added to the Paystore portal. At the end of the execution, the information that was set by the method will be available to be base64 encrypted.
Métodos¶
| Signature | Description |
|---|---|
void setBase64ImagePaymentSettings() |
Starts the process that updates the logo value in the object mPaymentSettings.setLogoInitialization() and mPaymentSettings.setReceiptLogoInitialization() |
Warning
The setBase64ImagePaymentSettings() method must not return values, it does not contain input parameters.
Example¶
public class MyActivity {
//[...]
public void setBase64ImagePaymentSettings(){
ThemePreference themePreference = ThemePreference.getInstance(getApplicationContext());
mPaymentSettings.setLogoInitialization(getBase64FromImageUrl(themePreference.getLogo()));
mPaymentSettings.setReceiptLogoInitialization(getBase64FromImageUrl(themePreference.getReceiptLogo()));
}
}
Retorno¶
| Name | Type | Description |
|---|---|---|
getReceiptLogoInitialization |
String |
Returns the Logo from Initialization |