kopia lustrzana https://github.com/ryukoposting/Signal-Android
32 wiersze
730 B
Java
32 wiersze
730 B
Java
package org.whispersystems.signalservice.internal.push;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
/**
|
|
* Request JSON for creating a PayPal one-time payment intent
|
|
*/
|
|
class PayPalCreateOneTimePaymentIntentPayload {
|
|
@JsonProperty
|
|
private long amount;
|
|
|
|
@JsonProperty
|
|
private String currency;
|
|
|
|
@JsonProperty
|
|
private long level;
|
|
|
|
@JsonProperty
|
|
private String returnUrl;
|
|
|
|
@JsonProperty
|
|
private String cancelUrl;
|
|
|
|
public PayPalCreateOneTimePaymentIntentPayload(long amount, String currency, long level, String returnUrl, String cancelUrl) {
|
|
this.amount = amount;
|
|
this.currency = currency;
|
|
this.level = level;
|
|
this.returnUrl = returnUrl;
|
|
this.cancelUrl = cancelUrl;
|
|
}
|
|
}
|