- PaymentMethodCardResponse
- PaymentMethodCashRecurrentResponse
- PaymentMethodCashResponse
- PaymentMethodSpeiRecurrentResponse
// Import classes:
import com.conekta.model.GetCustomerPaymentMethodDataResponse;
import com.conekta.model.PaymentMethodCardResponse;
import com.conekta.model.PaymentMethodCashRecurrentResponse;
import com.conekta.model.PaymentMethodCashResponse;
import com.conekta.model.PaymentMethodSpeiRecurrentResponse;
public class Example {
public static void main(String[] args) {
GetCustomerPaymentMethodDataResponse exampleGetCustomerPaymentMethodDataResponse = new GetCustomerPaymentMethodDataResponse();
// create a new PaymentMethodCardResponse
PaymentMethodCardResponse examplePaymentMethodCardResponse = new PaymentMethodCardResponse();
// set GetCustomerPaymentMethodDataResponse to PaymentMethodCardResponse
exampleGetCustomerPaymentMethodDataResponse.setActualInstance(examplePaymentMethodCardResponse);
// to get back the PaymentMethodCardResponse set earlier
PaymentMethodCardResponse testPaymentMethodCardResponse = (PaymentMethodCardResponse) exampleGetCustomerPaymentMethodDataResponse.getActualInstance();
// create a new PaymentMethodCashRecurrentResponse
PaymentMethodCashRecurrentResponse examplePaymentMethodCashRecurrentResponse = new PaymentMethodCashRecurrentResponse();
// set GetCustomerPaymentMethodDataResponse to PaymentMethodCashRecurrentResponse
exampleGetCustomerPaymentMethodDataResponse.setActualInstance(examplePaymentMethodCashRecurrentResponse);
// to get back the PaymentMethodCashRecurrentResponse set earlier
PaymentMethodCashRecurrentResponse testPaymentMethodCashRecurrentResponse = (PaymentMethodCashRecurrentResponse) exampleGetCustomerPaymentMethodDataResponse.getActualInstance();
// create a new PaymentMethodCashResponse
PaymentMethodCashResponse examplePaymentMethodCashResponse = new PaymentMethodCashResponse();
// set GetCustomerPaymentMethodDataResponse to PaymentMethodCashResponse
exampleGetCustomerPaymentMethodDataResponse.setActualInstance(examplePaymentMethodCashResponse);
// to get back the PaymentMethodCashResponse set earlier
PaymentMethodCashResponse testPaymentMethodCashResponse = (PaymentMethodCashResponse) exampleGetCustomerPaymentMethodDataResponse.getActualInstance();
// create a new PaymentMethodSpeiRecurrentResponse
PaymentMethodSpeiRecurrentResponse examplePaymentMethodSpeiRecurrentResponse = new PaymentMethodSpeiRecurrentResponse();
// set GetCustomerPaymentMethodDataResponse to PaymentMethodSpeiRecurrentResponse
exampleGetCustomerPaymentMethodDataResponse.setActualInstance(examplePaymentMethodSpeiRecurrentResponse);
// to get back the PaymentMethodSpeiRecurrentResponse set earlier
PaymentMethodSpeiRecurrentResponse testPaymentMethodSpeiRecurrentResponse = (PaymentMethodSpeiRecurrentResponse) exampleGetCustomerPaymentMethodDataResponse.getActualInstance();
}
}