
com.securionpay.request.ShippingRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of securionpay-java Show documentation
Show all versions of securionpay-java Show documentation
Java client library for SecurionPay API
The newest version!
package com.securionpay.request;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
public class ShippingRequest {
private String name;
private AddressRequest address;
@JsonIgnore
private final Map other = new HashMap<>();
public ShippingRequest() {
}
public ShippingRequest(String name, AddressRequest address) {
this.name = name;
this.address = address;
}
public String getName() {
return name;
}
public AddressRequest getAddress() {
return address;
}
public ShippingRequest name(String name) {
this.name = name;
return this;
}
public ShippingRequest address(AddressRequest address) {
this.address = address;
return this;
}
@JsonAnyGetter
private Map getOtherMap() {
return other;
}
@JsonAnySetter
public ShippingRequest set(String name, Object value) {
other.put(name, value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy