All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bitpay.sdk_light.model.Invoice.Buyer Maven / Gradle / Ivy

Go to download

Light implementation of the BitPay Payment Gateway. This library implements BitPay's Cryptographically Secure RESTful API.

The newest version!
package com.bitpay.sdk_light.model.Invoice;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Buyer {

    private String _name;
    private String _address1;
    private String _address2;
    private String _locality;
    private String _region;
    private String _postalCode;
    private String _country;
    private String _email;
    private String _phone;
    private boolean _notify;

    public Buyer() {
    }

    @JsonProperty("name")
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    public String getName() {
        return _name;
    }

    @JsonProperty("name")
    public void setName(String name) {
        this._name = name;
    }

    @JsonProperty("address1")
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    public String getAddress1() {
        return _address1;
    }

    @JsonProperty("address1")
    public void setAddress1(String address1) {
        this._address1 = address1;
    }

    @JsonProperty("address2")
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    public String getAddress2() {
        return _address2;
    }

    @JsonProperty("address2")
    public void setAddress2(String address2) {
        this._address2 = address2;
    }

    @JsonProperty("locality")
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    public String getLocality() {
        return _locality;
    }

    @JsonProperty("locality")
    public void setLocality(String locality) {
        this._locality = locality;
    }

    @JsonProperty("region")
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    public String getRegion() {
        return _region;
    }

    @JsonProperty("region")
    public void setRegion(String region) {
        this._region = region;
    }

    @JsonProperty("postalCode")
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    public String getPostalCode() {
        return _postalCode;
    }

    @JsonProperty("postalCode")
    public void setPostalCode(String postalCode) {
        this._postalCode = postalCode;
    }

    @JsonProperty("country")
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    public String getCountry() {
        return _country;
    }

    @JsonProperty("country")
    public void setCountry(String country) {
        this._country = country;
    }

    @JsonProperty("email")
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    public String getEmail() {
        return _email;
    }

    @JsonProperty("email")
    public void setEmail(String email) {
        this._email = email;
    }

    @JsonProperty("phone")
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    public String getPhone() {
        return _phone;
    }

    @JsonProperty("phone")
    public void setPhone(String phone) {
        this._phone = phone;
    }

    @JsonProperty("notify")
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    public boolean getNotify() {
        return _notify;
    }

    @JsonProperty("notify")
    public void setNotify(boolean notify) {
        this._notify = notify;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy