001// Generated by delombok at Wed Nov 11 21:20:25 CET 2020
002/*
003 * Copyright (c) 2010-2020 Mark Allen, Norbert Bartels.
004 *
005 * Permission is hereby granted, free of charge, to any person obtaining a copy
006 * of this software and associated documentation files (the "Software"), to deal
007 * in the Software without restriction, including without limitation the rights
008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
009 * copies of the Software, and to permit persons to whom the Software is
010 * furnished to do so, subject to the following conditions:
011 *
012 * The above copyright notice and this permission notice shall be included in
013 * all copies or substantial portions of the Software.
014 *
015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
021 * THE SOFTWARE.
022 */
023package com.restfb.types.webhook.messaging.payment;
024
025import java.io.Serializable;
026import com.restfb.Facebook;
027
028public class ReuqestedUserInfo implements Serializable {
029  /**
030   * Person's shipping address
031   */
032  @Facebook("shipping_address")
033  private ShippingAddress shippingAddress;
034  /**
035   * Person's name
036   */
037  @Facebook("contact_name")
038  private String contactName;
039  /**
040   * Person's email
041   */
042  @Facebook("contact_email")
043  private String contactEmail;
044  /**
045   * Person's phone number
046   */
047  @Facebook("contact_phone")
048  private String contactPhone;
049
050  @java.lang.Override
051  @java.lang.SuppressWarnings("all")
052  public java.lang.String toString() {
053    return "ReuqestedUserInfo(shippingAddress=" + this.getShippingAddress() + ", contactName=" + this.getContactName() + ", contactEmail=" + this.getContactEmail() + ", contactPhone=" + this.getContactPhone() + ")";
054  }
055
056  /**
057   * Person's shipping address
058   */
059  @java.lang.SuppressWarnings("all")
060  public ShippingAddress getShippingAddress() {
061    return this.shippingAddress;
062  }
063
064  /**
065   * Person's shipping address
066   */
067  @java.lang.SuppressWarnings("all")
068  public void setShippingAddress(final ShippingAddress shippingAddress) {
069    this.shippingAddress = shippingAddress;
070  }
071
072  /**
073   * Person's name
074   */
075  @java.lang.SuppressWarnings("all")
076  public String getContactName() {
077    return this.contactName;
078  }
079
080  /**
081   * Person's name
082   */
083  @java.lang.SuppressWarnings("all")
084  public void setContactName(final String contactName) {
085    this.contactName = contactName;
086  }
087
088  /**
089   * Person's email
090   */
091  @java.lang.SuppressWarnings("all")
092  public String getContactEmail() {
093    return this.contactEmail;
094  }
095
096  /**
097   * Person's email
098   */
099  @java.lang.SuppressWarnings("all")
100  public void setContactEmail(final String contactEmail) {
101    this.contactEmail = contactEmail;
102  }
103
104  /**
105   * Person's phone number
106   */
107  @java.lang.SuppressWarnings("all")
108  public String getContactPhone() {
109    return this.contactPhone;
110  }
111
112  /**
113   * Person's phone number
114   */
115  @java.lang.SuppressWarnings("all")
116  public void setContactPhone(final String contactPhone) {
117    this.contactPhone = contactPhone;
118  }
119}