Skip to content

Commit

Permalink
Changes generated by ddfa4dc9eb07fd887076f858abbe3c5fbf378161
Browse files Browse the repository at this point in the history
  • Loading branch information
gocardless-robot committed Jun 25, 2024
1 parent 1a85e8b commit 8edcc5a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/main/java/com/gocardless/services/MandatePdfService.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,11 @@ public static final class MandatePdfCreateRequest extends PostRequest<MandatePdf
private String bic;
private String branchCode;
private String city;
private String companyName;
private String countryCode;
private String danishIdentityNumber;
private String familyName;
private String givenName;
private String iban;
private Links links;
private String mandateReference;
Expand Down Expand Up @@ -182,6 +185,15 @@ public MandatePdfCreateRequest withCity(String city) {
return this;
}

/**
* The customer's company name. Used to populate the "Customer Name or Company name" field
* on the PDF.
*/
public MandatePdfCreateRequest withCompanyName(String companyName) {
this.companyName = companyName;
return this;
}

/**
* [ISO
* 3166-1](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)
Expand All @@ -201,6 +213,24 @@ public MandatePdfCreateRequest withDanishIdentityNumber(String danishIdentityNum
return this;
}

/**
* The customer's family name (i.e. last name). Used to populate the "Customer Name or
* Company name" field on the PDF. Ignored if `company_name` is provided.
*/
public MandatePdfCreateRequest withFamilyName(String familyName) {
this.familyName = familyName;
return this;
}

/**
* The customer's given name (i.e. first name). Used to populate the "Customer Name or
* Company name" field on the PDF. Ignored if `company_name` is provided.
*/
public MandatePdfCreateRequest withGivenName(String givenName) {
this.givenName = givenName;
return this;
}

/**
* International Bank Account Number. Alternatively you can provide [local
* details](#appendix-local-bank-details). IBANs cannot be provided for Autogiro mandates.
Expand Down

0 comments on commit 8edcc5a

Please sign in to comment.