setBilling method

void setBilling(
  1. Billing billing
)

Associate and mapping Billing model properties to transaction

@param billing

Implementation

void setBilling(Billing billing) {
	address = Helpers.trimValue(billing.address);
	country = billing.country;
	state = billing.state;
	city = Helpers.trimValue(billing.city);
	zip = billing.zip;
	phone = billing.phone;
}