src/test/java/com/squareup/connect/models/RefundTest.java
@Test
  public void additionalRecipientsTest() {
    AdditionalRecipient recipient = new AdditionalRecipient();
    recipient.setLocationId("location");
    recipient.setDescription("description");
    Money money = new Money();
    money.setAmount(1L);
    money.setCurrency("USD");
    recipient.setAmountMoney(money);
    new Refund().setAdditionalRecipients(new ArrayList<>(
        Arrays.asList(recipient)
    ));
  }
/**
   * additionalRecipientsTest
   *
   * Tests that the refund object has an AdditionalRecipients field.
   */
additionalRecipientsTest
Tests that the refund object has an AdditionalRecipients field.
additionalRecipientsTest Tests that the refund object has an AdditionalRecipients field .
@Test
  public void additionalRecipientsTest() {
    AdditionalRecipient recipient = new AdditionalRecipient();
    recipient.setLocationId("location");
    recipient.setDescription("description");
    Money money = new Money();
    money.setAmount(1L);
    money.setCurrency("USD");
    recipient.setAmountMoney(money);
    new Refund().setAdditionalRecipients(new ArrayList<>(
        Arrays.asList(recipient)
    ));
  }
@ Test public void additionalRecipientsTest ( ) { AdditionalRecipient recipient = new AdditionalRecipient ( ) ; recipient . setLocationId ( "location" ) ; recipient . setDescription ( "description" ) ; Money money = new Money ( ) ; money . setAmount ( 1L ) ; money . setCurrency ( "USD" ) ; recipient . setAmountMoney ( money ) ; new Refund ( ) . setAdditionalRecipients ( new ArrayList < > ( Arrays . asList ( recipient ) ) ) ; }
additionalRecipientsTest
 Tests that the refund object has an AdditionalRecipients field.
additionalRecipientsTest Tests that the refund object has an AdditionalRecipients field .