001// Generated by delombok at Tue Dec 10 13:42:03 UTC 2024 002/* 003 * Copyright (c) 2010-2024 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.ads; 024 025import com.restfb.Facebook; 026import com.restfb.types.FacebookType; 027 028/** 029 * Represents the <a href="https://developers.facebook.com/docs/marketing-api/reference/ad-account/">Funding Source 030 * Details type</a>. 031 */ 032public class FundingSourceDetails extends FacebookType { 033 private static final long serialVersionUID = 1L; 034 /** 035 * Details of the Facebook Ads Coupon from the payment method 036 */ 037 @Facebook 038 private FundingSourceDetailsCoupon coupon; 039 /** 040 * Amount of Facebook Ads Coupon 041 */ 042 @Facebook 043 private String amount; 044 /** 045 * Currency of the Facebook Ads Coupon 046 */ 047 @Facebook 048 private String currency; 049 /** 050 * How the amount of Facebook Ads Coupon is displayed 051 */ 052 @Facebook("display_amount") 053 private String displayAmount; 054 /** 055 * When the coupon will expire 056 */ 057 @Facebook 058 private String expiration; 059 /** 060 * How the payment method is shown 061 */ 062 @Facebook("display_string") 063 private String displayString; 064 065 /** 066 * Details of the Facebook Ads Coupon from the payment method 067 */ 068 @java.lang.SuppressWarnings("all") 069 public FundingSourceDetailsCoupon getCoupon() { 070 return this.coupon; 071 } 072 073 /** 074 * Details of the Facebook Ads Coupon from the payment method 075 */ 076 @java.lang.SuppressWarnings("all") 077 public void setCoupon(final FundingSourceDetailsCoupon coupon) { 078 this.coupon = coupon; 079 } 080 081 /** 082 * Amount of Facebook Ads Coupon 083 */ 084 @java.lang.SuppressWarnings("all") 085 public String getAmount() { 086 return this.amount; 087 } 088 089 /** 090 * Amount of Facebook Ads Coupon 091 */ 092 @java.lang.SuppressWarnings("all") 093 public void setAmount(final String amount) { 094 this.amount = amount; 095 } 096 097 /** 098 * Currency of the Facebook Ads Coupon 099 */ 100 @java.lang.SuppressWarnings("all") 101 public String getCurrency() { 102 return this.currency; 103 } 104 105 /** 106 * Currency of the Facebook Ads Coupon 107 */ 108 @java.lang.SuppressWarnings("all") 109 public void setCurrency(final String currency) { 110 this.currency = currency; 111 } 112 113 /** 114 * How the amount of Facebook Ads Coupon is displayed 115 */ 116 @java.lang.SuppressWarnings("all") 117 public String getDisplayAmount() { 118 return this.displayAmount; 119 } 120 121 /** 122 * How the amount of Facebook Ads Coupon is displayed 123 */ 124 @java.lang.SuppressWarnings("all") 125 public void setDisplayAmount(final String displayAmount) { 126 this.displayAmount = displayAmount; 127 } 128 129 /** 130 * When the coupon will expire 131 */ 132 @java.lang.SuppressWarnings("all") 133 public String getExpiration() { 134 return this.expiration; 135 } 136 137 /** 138 * When the coupon will expire 139 */ 140 @java.lang.SuppressWarnings("all") 141 public void setExpiration(final String expiration) { 142 this.expiration = expiration; 143 } 144 145 /** 146 * How the payment method is shown 147 */ 148 @java.lang.SuppressWarnings("all") 149 public String getDisplayString() { 150 return this.displayString; 151 } 152 153 /** 154 * How the payment method is shown 155 */ 156 @java.lang.SuppressWarnings("all") 157 public void setDisplayString(final String displayString) { 158 this.displayString = displayString; 159 } 160}