001// Generated by delombok at Thu Aug 13 13:56:44 UTC 2026 002/* 003 * Copyright (c) 2010-2026 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; 024 025import java.util.ArrayList; 026import java.util.Collections; 027import java.util.Date; 028import java.util.List; 029import com.restfb.Facebook; 030import com.restfb.types.features.HasCreatedTime; 031 032/** 033 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/payment">Payment Graph API type</a>. 034 */ 035public class Payment extends FacebookType implements HasCreatedTime { 036 /** 037 * The consumer's first and last name along with their user id. May be omitted in some cases. 038 */ 039 @Facebook 040 private User user; 041 /** 042 * The quantity of the product contained in the order 043 */ 044 @Facebook 045 private Integer quantity; 046 /** 047 * The unique, optional app-created identifier passed into the JS function (255 character maximum) 048 */ 049 @Facebook("request_id") 050 private String requestId; 051 /** 052 * The app associated with this payment 053 */ 054 @Facebook 055 private Application application; 056 @Facebook 057 private List<Action> actions = new ArrayList<>(); 058 @Facebook 059 private List<Item> items = new ArrayList<>(); 060 /** 061 * Buyer's ISO Country Code, for tax purposes. 062 */ 063 @Facebook 064 private String country; 065 /** 066 * The tax parameter specifies if a payment is subject to VAT and, if so, how the tax was paid. 067 * <p> 068 * This can take on the following values: 069 * </p> 070 * <ul> 071 * <li>{@code not_taxed}: There's no VAT on this payment because it came from outside the European Union.</li> 072 * <li>{@code already_paid}: The tax on this payment has already been paid by the user's mobile carrier or other 073 * upstream party</li> 074 * <li>{@code tax_remitted}: Facebook paid the VAT on this payment on your behalf. The tax amount will be deducted 075 * from your payout.</li> 076 * </ul> 077 */ 078 @Facebook 079 private String tax; 080 /** 081 * The country determined by Facebook for tax calculation of this purchase, given as an ISO 3166-1 alpha-2 country 082 * code. Note: This field is for your information only, and it should not be used for any recalculation or 083 * reconciliation purposes. If tax is equal to not_taxed or already_paid this field will be omitted. 084 */ 085 @Facebook("tax_country") 086 private String taxCountry; 087 /** 088 * The time the payment was originally created. 089 */ 090 @Facebook("created_time") 091 private Date createdTime; 092 /** 093 * Exchange rate used to calculate payout amount which is remitted in USD. 094 */ 095 @Facebook("payout_foreign_exchange_rate") 096 private Double payoutForeignExchangeRate; 097 @Facebook 098 private List<Dispute> disputes = new ArrayList<>(); 099 /** 100 * Optional parameter that shows up when a payment is made by a payment tester listed in the app's dashboard. This 101 * represents a transaction that has not been charged to the consumer's payment instrument 102 */ 103 @Facebook 104 private Boolean test; 105 106 107 /** 108 * The items associated with the payment. 109 */ 110 public static class Item extends AbstractFacebookType { 111 /** 112 * The type of this item. 113 */ 114 @Facebook 115 private String type; 116 /** 117 * The product URL of this item. 118 */ 119 @Facebook 120 private String product; 121 /** 122 * The number of this item purchased. 123 */ 124 @Facebook 125 private Integer quantity; 126 127 /** 128 * The type of this item. 129 */ 130 @java.lang.SuppressWarnings("all") 131 @lombok.Generated 132 public String getType() { 133 return this.type; 134 } 135 136 /** 137 * The type of this item. 138 */ 139 @java.lang.SuppressWarnings("all") 140 @lombok.Generated 141 public void setType(final String type) { 142 this.type = type; 143 } 144 145 /** 146 * The product URL of this item. 147 */ 148 @java.lang.SuppressWarnings("all") 149 @lombok.Generated 150 public String getProduct() { 151 return this.product; 152 } 153 154 /** 155 * The product URL of this item. 156 */ 157 @java.lang.SuppressWarnings("all") 158 @lombok.Generated 159 public void setProduct(final String product) { 160 this.product = product; 161 } 162 163 /** 164 * The number of this item purchased. 165 */ 166 @java.lang.SuppressWarnings("all") 167 @lombok.Generated 168 public Integer getQuantity() { 169 return this.quantity; 170 } 171 172 /** 173 * The number of this item purchased. 174 */ 175 @java.lang.SuppressWarnings("all") 176 @lombok.Generated 177 public void setQuantity(final Integer quantity) { 178 this.quantity = quantity; 179 } 180 } 181 182 183 /** 184 * The list of different action types that have occurred in this payment. 185 */ 186 public static class Action extends AbstractFacebookType { 187 /** 188 * The type of this particular action. type can be: 189 * <ul> 190 * <li>{@code charge}: This designates the type of action that was taken on this payment was a charge. If the charge 191 * has a status of completed, then you should fulfill the order.</li> 192 * <li>{@code refund}: The refund type designates the payment has been refunded and the item sold to the consumer 193 * should be retracted if possible as you will no longer be paid out for this transaction.</li> 194 * <li>{@code chargeback}: A chargeback is initiated by a consumer with their bank disputing the payment in 195 * question. When a chargeback occurs, you should retract the in-game item from the costumer where possible as you 196 * will not be paid out for this order.</li> 197 * <li>{@code chargeback_reversal}: A chargeback_reversal occurs when a chargeback is retroactively reversed. In 198 * this case, you should reinstate the consumer's in-game item if possible as you will now be paid out for this 199 * payment.</li> 200 * <li>{@code decline}: A decline occurs when a funding source used to create a bundled transaction is declined at 201 * the moment of processing the payment. You should retract the in-game item from the consumer where possible as you 202 * will not be paid out for this order. More information on bundled transactions and declines can be found in 203 * Handling Disputes and Refunds.</li> 204 * </ul> 205 */ 206 @Facebook 207 private String type; 208 /** 209 * The status for this particular action. status can be: 210 * <ul> 211 * <li>{@code initiated}: An initiated payment designates the payment was only initiated but not yet fully 212 * completed. You should not fulfill an order of this type with the consumer and you should not receive a real time 213 * update for a payment with this status. You will however get a real time update when the corresponding transaction 214 * is completed. Developers may see initiated state for certain payment methods which requires long time to settle, 215 * for example, certain methods require the costumer to fill-in a form online, print out a receipt and go to the 216 * bank offline to pay.</li> 217 * <li>{@code completed}: A completed status means the action was successfully completed. If the type was a charge 218 * you will want to fulfill the order to the consumer at this time. Similarly, if the action type was a refund you 219 * will want to retract the item from the consumer.</li> 220 * <li>{@code failed}: This designates a failed action for the underlying type. This value can be present for both a 221 * charge action type as well as a refund action type.</li> 222 * </ul> 223 */ 224 @Facebook 225 private String status; 226 /** 227 * The amount of money covered by this action. 228 */ 229 @Facebook 230 private String amount; 231 /** 232 * The currency of the above amount in this action. 233 */ 234 @Facebook 235 private String currency; 236 /** 237 * When this action occurred. 238 */ 239 @Facebook("time_created") 240 private Date timeCreated; 241 /** 242 * When this action was last updated. 243 */ 244 @Facebook("time_updated") 245 private Date timeUpdated; 246 /** 247 * The amount reduced from your payout for any taxes remitted by Facebook. If {@code tax} is equal to 248 * {@code not_taxed} or {@code already_paid} this field will be omitted. 249 */ 250 @Facebook("tax_amount") 251 private String taxAmount; 252 253 /** 254 * The type of this particular action. type can be: 255 * <ul> 256 * <li>{@code charge}: This designates the type of action that was taken on this payment was a charge. If the charge 257 * has a status of completed, then you should fulfill the order.</li> 258 * <li>{@code refund}: The refund type designates the payment has been refunded and the item sold to the consumer 259 * should be retracted if possible as you will no longer be paid out for this transaction.</li> 260 * <li>{@code chargeback}: A chargeback is initiated by a consumer with their bank disputing the payment in 261 * question. When a chargeback occurs, you should retract the in-game item from the costumer where possible as you 262 * will not be paid out for this order.</li> 263 * <li>{@code chargeback_reversal}: A chargeback_reversal occurs when a chargeback is retroactively reversed. In 264 * this case, you should reinstate the consumer's in-game item if possible as you will now be paid out for this 265 * payment.</li> 266 * <li>{@code decline}: A decline occurs when a funding source used to create a bundled transaction is declined at 267 * the moment of processing the payment. You should retract the in-game item from the consumer where possible as you 268 * will not be paid out for this order. More information on bundled transactions and declines can be found in 269 * Handling Disputes and Refunds.</li> 270 * </ul> 271 */ 272 @java.lang.SuppressWarnings("all") 273 @lombok.Generated 274 public String getType() { 275 return this.type; 276 } 277 278 /** 279 * The type of this particular action. type can be: 280 * <ul> 281 * <li>{@code charge}: This designates the type of action that was taken on this payment was a charge. If the charge 282 * has a status of completed, then you should fulfill the order.</li> 283 * <li>{@code refund}: The refund type designates the payment has been refunded and the item sold to the consumer 284 * should be retracted if possible as you will no longer be paid out for this transaction.</li> 285 * <li>{@code chargeback}: A chargeback is initiated by a consumer with their bank disputing the payment in 286 * question. When a chargeback occurs, you should retract the in-game item from the costumer where possible as you 287 * will not be paid out for this order.</li> 288 * <li>{@code chargeback_reversal}: A chargeback_reversal occurs when a chargeback is retroactively reversed. In 289 * this case, you should reinstate the consumer's in-game item if possible as you will now be paid out for this 290 * payment.</li> 291 * <li>{@code decline}: A decline occurs when a funding source used to create a bundled transaction is declined at 292 * the moment of processing the payment. You should retract the in-game item from the consumer where possible as you 293 * will not be paid out for this order. More information on bundled transactions and declines can be found in 294 * Handling Disputes and Refunds.</li> 295 * </ul> 296 */ 297 @java.lang.SuppressWarnings("all") 298 @lombok.Generated 299 public void setType(final String type) { 300 this.type = type; 301 } 302 303 /** 304 * The status for this particular action. status can be: 305 * <ul> 306 * <li>{@code initiated}: An initiated payment designates the payment was only initiated but not yet fully 307 * completed. You should not fulfill an order of this type with the consumer and you should not receive a real time 308 * update for a payment with this status. You will however get a real time update when the corresponding transaction 309 * is completed. Developers may see initiated state for certain payment methods which requires long time to settle, 310 * for example, certain methods require the costumer to fill-in a form online, print out a receipt and go to the 311 * bank offline to pay.</li> 312 * <li>{@code completed}: A completed status means the action was successfully completed. If the type was a charge 313 * you will want to fulfill the order to the consumer at this time. Similarly, if the action type was a refund you 314 * will want to retract the item from the consumer.</li> 315 * <li>{@code failed}: This designates a failed action for the underlying type. This value can be present for both a 316 * charge action type as well as a refund action type.</li> 317 * </ul> 318 */ 319 @java.lang.SuppressWarnings("all") 320 @lombok.Generated 321 public String getStatus() { 322 return this.status; 323 } 324 325 /** 326 * The status for this particular action. status can be: 327 * <ul> 328 * <li>{@code initiated}: An initiated payment designates the payment was only initiated but not yet fully 329 * completed. You should not fulfill an order of this type with the consumer and you should not receive a real time 330 * update for a payment with this status. You will however get a real time update when the corresponding transaction 331 * is completed. Developers may see initiated state for certain payment methods which requires long time to settle, 332 * for example, certain methods require the costumer to fill-in a form online, print out a receipt and go to the 333 * bank offline to pay.</li> 334 * <li>{@code completed}: A completed status means the action was successfully completed. If the type was a charge 335 * you will want to fulfill the order to the consumer at this time. Similarly, if the action type was a refund you 336 * will want to retract the item from the consumer.</li> 337 * <li>{@code failed}: This designates a failed action for the underlying type. This value can be present for both a 338 * charge action type as well as a refund action type.</li> 339 * </ul> 340 */ 341 @java.lang.SuppressWarnings("all") 342 @lombok.Generated 343 public void setStatus(final String status) { 344 this.status = status; 345 } 346 347 /** 348 * The amount of money covered by this action. 349 */ 350 @java.lang.SuppressWarnings("all") 351 @lombok.Generated 352 public String getAmount() { 353 return this.amount; 354 } 355 356 /** 357 * The amount of money covered by this action. 358 */ 359 @java.lang.SuppressWarnings("all") 360 @lombok.Generated 361 public void setAmount(final String amount) { 362 this.amount = amount; 363 } 364 365 /** 366 * The currency of the above amount in this action. 367 */ 368 @java.lang.SuppressWarnings("all") 369 @lombok.Generated 370 public String getCurrency() { 371 return this.currency; 372 } 373 374 /** 375 * The currency of the above amount in this action. 376 */ 377 @java.lang.SuppressWarnings("all") 378 @lombok.Generated 379 public void setCurrency(final String currency) { 380 this.currency = currency; 381 } 382 383 /** 384 * When this action occurred. 385 */ 386 @java.lang.SuppressWarnings("all") 387 @lombok.Generated 388 public Date getTimeCreated() { 389 return this.timeCreated; 390 } 391 392 /** 393 * When this action occurred. 394 */ 395 @java.lang.SuppressWarnings("all") 396 @lombok.Generated 397 public void setTimeCreated(final Date timeCreated) { 398 this.timeCreated = timeCreated; 399 } 400 401 /** 402 * When this action was last updated. 403 */ 404 @java.lang.SuppressWarnings("all") 405 @lombok.Generated 406 public Date getTimeUpdated() { 407 return this.timeUpdated; 408 } 409 410 /** 411 * When this action was last updated. 412 */ 413 @java.lang.SuppressWarnings("all") 414 @lombok.Generated 415 public void setTimeUpdated(final Date timeUpdated) { 416 this.timeUpdated = timeUpdated; 417 } 418 419 /** 420 * The amount reduced from your payout for any taxes remitted by Facebook. If {@code tax} is equal to 421 * {@code not_taxed} or {@code already_paid} this field will be omitted. 422 */ 423 @java.lang.SuppressWarnings("all") 424 @lombok.Generated 425 public String getTaxAmount() { 426 return this.taxAmount; 427 } 428 429 /** 430 * The amount reduced from your payout for any taxes remitted by Facebook. If {@code tax} is equal to 431 * {@code not_taxed} or {@code already_paid} this field will be omitted. 432 */ 433 @java.lang.SuppressWarnings("all") 434 @lombok.Generated 435 public void setTaxAmount(final String taxAmount) { 436 this.taxAmount = taxAmount; 437 } 438 } 439 440 441 /** 442 * Contains the information related to a dispute, including the user_comment and user_email which is provided by the 443 * consumer when the dispute is initiated. Additionally, contains the current status of the dispute, the time the 444 * dispute was created an an resolution reason, if available. 445 */ 446 public static class Dispute extends AbstractFacebookType { 447 /** 448 * Comment provided by the consumer when the dispute is initiated. 449 */ 450 @Facebook("user_comment") 451 private String userComment; 452 /** 453 * Email provided by the consumer when the dispute is initiated. 454 */ 455 @Facebook("user_email") 456 private String userEmail; 457 /** 458 * The time the dispute was created. 459 */ 460 @Facebook("time_created") 461 private Date timeCreated; 462 /** 463 * Current status of the dispute. 464 */ 465 @Facebook 466 private String status; 467 /** 468 * The reason the developer or Facebook gave to resolve the dispute, after it has been resolved. 469 */ 470 @Facebook 471 private String reason; 472 473 /** 474 * Comment provided by the consumer when the dispute is initiated. 475 */ 476 @java.lang.SuppressWarnings("all") 477 @lombok.Generated 478 public String getUserComment() { 479 return this.userComment; 480 } 481 482 /** 483 * Comment provided by the consumer when the dispute is initiated. 484 */ 485 @java.lang.SuppressWarnings("all") 486 @lombok.Generated 487 public void setUserComment(final String userComment) { 488 this.userComment = userComment; 489 } 490 491 /** 492 * Email provided by the consumer when the dispute is initiated. 493 */ 494 @java.lang.SuppressWarnings("all") 495 @lombok.Generated 496 public String getUserEmail() { 497 return this.userEmail; 498 } 499 500 /** 501 * Email provided by the consumer when the dispute is initiated. 502 */ 503 @java.lang.SuppressWarnings("all") 504 @lombok.Generated 505 public void setUserEmail(final String userEmail) { 506 this.userEmail = userEmail; 507 } 508 509 /** 510 * The time the dispute was created. 511 */ 512 @java.lang.SuppressWarnings("all") 513 @lombok.Generated 514 public Date getTimeCreated() { 515 return this.timeCreated; 516 } 517 518 /** 519 * The time the dispute was created. 520 */ 521 @java.lang.SuppressWarnings("all") 522 @lombok.Generated 523 public void setTimeCreated(final Date timeCreated) { 524 this.timeCreated = timeCreated; 525 } 526 527 /** 528 * Current status of the dispute. 529 */ 530 @java.lang.SuppressWarnings("all") 531 @lombok.Generated 532 public String getStatus() { 533 return this.status; 534 } 535 536 /** 537 * Current status of the dispute. 538 */ 539 @java.lang.SuppressWarnings("all") 540 @lombok.Generated 541 public void setStatus(final String status) { 542 this.status = status; 543 } 544 545 /** 546 * The reason the developer or Facebook gave to resolve the dispute, after it has been resolved. 547 */ 548 @java.lang.SuppressWarnings("all") 549 @lombok.Generated 550 public String getReason() { 551 return this.reason; 552 } 553 554 /** 555 * The reason the developer or Facebook gave to resolve the dispute, after it has been resolved. 556 */ 557 @java.lang.SuppressWarnings("all") 558 @lombok.Generated 559 public void setReason(final String reason) { 560 this.reason = reason; 561 } 562 } 563 564 /** 565 * The items associated with the payment. 566 * 567 * @return list of items 568 */ 569 public List<Item> getItems() { 570 return Collections.unmodifiableList(items); 571 } 572 573 public boolean addItem(Item item) { 574 return items.add(item); 575 } 576 577 public boolean removeItem(Item item) { 578 return items.remove(item); 579 } 580 581 /** 582 * The list of different action types that have occurred in this payment. 583 * 584 * @return list of actions 585 */ 586 public List<Action> getActions() { 587 return Collections.unmodifiableList(actions); 588 } 589 590 public boolean addAction(Action action) { 591 return actions.add(action); 592 } 593 594 public boolean removeAction(Action action) { 595 return actions.remove(action); 596 } 597 598 /** 599 * Contains the information related to a dispute, including the {@code user_comment} and {@code user_email} which is 600 * provided by the consumer when the dispute is initiated. Additionally, contains the current status of the dispute, 601 * the time the dispute was created an an resolution reason, if available. 602 * 603 * @return list of disputes 604 */ 605 public List<Dispute> getDisputes() { 606 return Collections.unmodifiableList(disputes); 607 } 608 609 public boolean addDispute(Dispute dispute) { 610 return disputes.add(dispute); 611 } 612 613 public boolean removeDispute(Dispute dispute) { 614 return disputes.remove(dispute); 615 } 616 617 /** 618 * The consumer's first and last name along with their user id. May be omitted in some cases. 619 */ 620 @java.lang.SuppressWarnings("all") 621 @lombok.Generated 622 public User getUser() { 623 return this.user; 624 } 625 626 /** 627 * The consumer's first and last name along with their user id. May be omitted in some cases. 628 */ 629 @java.lang.SuppressWarnings("all") 630 @lombok.Generated 631 public void setUser(final User user) { 632 this.user = user; 633 } 634 635 /** 636 * The quantity of the product contained in the order 637 */ 638 @java.lang.SuppressWarnings("all") 639 @lombok.Generated 640 public Integer getQuantity() { 641 return this.quantity; 642 } 643 644 /** 645 * The quantity of the product contained in the order 646 */ 647 @java.lang.SuppressWarnings("all") 648 @lombok.Generated 649 public void setQuantity(final Integer quantity) { 650 this.quantity = quantity; 651 } 652 653 /** 654 * The unique, optional app-created identifier passed into the JS function (255 character maximum) 655 */ 656 @java.lang.SuppressWarnings("all") 657 @lombok.Generated 658 public String getRequestId() { 659 return this.requestId; 660 } 661 662 /** 663 * The unique, optional app-created identifier passed into the JS function (255 character maximum) 664 */ 665 @java.lang.SuppressWarnings("all") 666 @lombok.Generated 667 public void setRequestId(final String requestId) { 668 this.requestId = requestId; 669 } 670 671 /** 672 * The app associated with this payment 673 */ 674 @java.lang.SuppressWarnings("all") 675 @lombok.Generated 676 public Application getApplication() { 677 return this.application; 678 } 679 680 /** 681 * The app associated with this payment 682 */ 683 @java.lang.SuppressWarnings("all") 684 @lombok.Generated 685 public void setApplication(final Application application) { 686 this.application = application; 687 } 688 689 /** 690 * Buyer's ISO Country Code, for tax purposes. 691 */ 692 @java.lang.SuppressWarnings("all") 693 @lombok.Generated 694 public String getCountry() { 695 return this.country; 696 } 697 698 /** 699 * Buyer's ISO Country Code, for tax purposes. 700 */ 701 @java.lang.SuppressWarnings("all") 702 @lombok.Generated 703 public void setCountry(final String country) { 704 this.country = country; 705 } 706 707 /** 708 * The tax parameter specifies if a payment is subject to VAT and, if so, how the tax was paid. 709 * <p> 710 * This can take on the following values: 711 * </p> 712 * <ul> 713 * <li>{@code not_taxed}: There's no VAT on this payment because it came from outside the European Union.</li> 714 * <li>{@code already_paid}: The tax on this payment has already been paid by the user's mobile carrier or other 715 * upstream party</li> 716 * <li>{@code tax_remitted}: Facebook paid the VAT on this payment on your behalf. The tax amount will be deducted 717 * from your payout.</li> 718 * </ul> 719 */ 720 @java.lang.SuppressWarnings("all") 721 @lombok.Generated 722 public String getTax() { 723 return this.tax; 724 } 725 726 /** 727 * The tax parameter specifies if a payment is subject to VAT and, if so, how the tax was paid. 728 * <p> 729 * This can take on the following values: 730 * </p> 731 * <ul> 732 * <li>{@code not_taxed}: There's no VAT on this payment because it came from outside the European Union.</li> 733 * <li>{@code already_paid}: The tax on this payment has already been paid by the user's mobile carrier or other 734 * upstream party</li> 735 * <li>{@code tax_remitted}: Facebook paid the VAT on this payment on your behalf. The tax amount will be deducted 736 * from your payout.</li> 737 * </ul> 738 */ 739 @java.lang.SuppressWarnings("all") 740 @lombok.Generated 741 public void setTax(final String tax) { 742 this.tax = tax; 743 } 744 745 /** 746 * The country determined by Facebook for tax calculation of this purchase, given as an ISO 3166-1 alpha-2 country 747 * code. Note: This field is for your information only, and it should not be used for any recalculation or 748 * reconciliation purposes. If tax is equal to not_taxed or already_paid this field will be omitted. 749 */ 750 @java.lang.SuppressWarnings("all") 751 @lombok.Generated 752 public String getTaxCountry() { 753 return this.taxCountry; 754 } 755 756 /** 757 * The country determined by Facebook for tax calculation of this purchase, given as an ISO 3166-1 alpha-2 country 758 * code. Note: This field is for your information only, and it should not be used for any recalculation or 759 * reconciliation purposes. If tax is equal to not_taxed or already_paid this field will be omitted. 760 */ 761 @java.lang.SuppressWarnings("all") 762 @lombok.Generated 763 public void setTaxCountry(final String taxCountry) { 764 this.taxCountry = taxCountry; 765 } 766 767 /** 768 * The time the payment was originally created. 769 */ 770 @Override 771 @java.lang.SuppressWarnings("all") 772 @lombok.Generated 773 public Date getCreatedTime() { 774 return this.createdTime; 775 } 776 777 /** 778 * The time the payment was originally created. 779 */ 780 @java.lang.SuppressWarnings("all") 781 @lombok.Generated 782 public void setCreatedTime(final Date createdTime) { 783 this.createdTime = createdTime; 784 } 785 786 /** 787 * Exchange rate used to calculate payout amount which is remitted in USD. 788 */ 789 @java.lang.SuppressWarnings("all") 790 @lombok.Generated 791 public Double getPayoutForeignExchangeRate() { 792 return this.payoutForeignExchangeRate; 793 } 794 795 /** 796 * Exchange rate used to calculate payout amount which is remitted in USD. 797 */ 798 @java.lang.SuppressWarnings("all") 799 @lombok.Generated 800 public void setPayoutForeignExchangeRate(final Double payoutForeignExchangeRate) { 801 this.payoutForeignExchangeRate = payoutForeignExchangeRate; 802 } 803 804 /** 805 * Optional parameter that shows up when a payment is made by a payment tester listed in the app's dashboard. This 806 * represents a transaction that has not been charged to the consumer's payment instrument 807 */ 808 @java.lang.SuppressWarnings("all") 809 @lombok.Generated 810 public Boolean getTest() { 811 return this.test; 812 } 813 814 /** 815 * Optional parameter that shows up when a payment is made by a payment tester listed in the app's dashboard. This 816 * represents a transaction that has not been charged to the consumer's payment instrument 817 */ 818 @java.lang.SuppressWarnings("all") 819 @lombok.Generated 820 public void setTest(final Boolean test) { 821 this.test = test; 822 } 823}