parent
f441fe9b5e
commit
ad4f78e101
@ -0,0 +1,16 @@
|
||||
package au.com.royalpay.payment.manage.shopify.store.web.command;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
public class CreateShopifyMerchantCommand {
|
||||
|
||||
private PaymentMerchantCommand paymentMerchant;
|
||||
|
||||
private PaymentAccountCommand paymentAccount;
|
||||
|
||||
@NotBlank(message = "Shop can not blank")
|
||||
private String shopifyShop;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package au.com.royalpay.payment.manage.shopify.store.web.command;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class PaymentAccountCommand {
|
||||
|
||||
private String loginId;
|
||||
|
||||
private String password;
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package au.com.royalpay.payment.manage.shopify.store.web.command;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class PaymentMerchantCommand {
|
||||
|
||||
private String companyName;
|
||||
|
||||
private String address;
|
||||
|
||||
private String suburb;
|
||||
|
||||
private String postcode;
|
||||
|
||||
private String state;
|
||||
|
||||
private String country;
|
||||
|
||||
private String contactPerson;
|
||||
|
||||
private String contactPhone;
|
||||
|
||||
private String contactEmail;
|
||||
}
|
Loading…
Reference in new issue