| @@ 312-325 (lines=14) @@ | ||
| 309 | return $this->billingFirstName; |
|
| 310 | } |
|
| 311 | ||
| 312 | public function setBillingFirstName($name) |
|
| 313 | { |
|
| 314 | $value = null; |
|
| 315 | ||
| 316 | if (is_string($name)) { |
|
| 317 | $trimmed = trim($name); |
|
| 318 | if (!empty($trimmed)) { |
|
| 319 | $value = $trimmed; |
|
| 320 | } |
|
| 321 | } |
|
| 322 | $this->billingFirstName = $value; |
|
| 323 | ||
| 324 | return $this; |
|
| 325 | } |
|
| 326 | ||
| 327 | public function getBillingLastName() |
|
| 328 | { |
|
| @@ 332-345 (lines=14) @@ | ||
| 329 | return $this->billingLastName; |
|
| 330 | } |
|
| 331 | ||
| 332 | public function setBillingLastName($name) |
|
| 333 | { |
|
| 334 | $value = null; |
|
| 335 | ||
| 336 | if (is_string($name)) { |
|
| 337 | $trimmed = trim($name); |
|
| 338 | if (!empty($trimmed)) { |
|
| 339 | $value = $trimmed; |
|
| 340 | } |
|
| 341 | } |
|
| 342 | $this->billingLastName = $value; |
|
| 343 | ||
| 344 | return $this; |
|
| 345 | } |
|
| 346 | ||
| 347 | public function getBillingPhone() |
|
| 348 | { |
|
| @@ 352-365 (lines=14) @@ | ||
| 349 | return $this->billingPhone; |
|
| 350 | } |
|
| 351 | ||
| 352 | public function setBillingPhone($phone) |
|
| 353 | { |
|
| 354 | $value = null; |
|
| 355 | ||
| 356 | if (is_string($phone)) { |
|
| 357 | $trimmed = trim($phone); |
|
| 358 | if (!empty($trimmed)) { |
|
| 359 | $value = $trimmed; |
|
| 360 | } |
|
| 361 | } |
|
| 362 | $this->billingPhone = $value; |
|
| 363 | ||
| 364 | return $this; |
|
| 365 | } |
|
| 366 | ||
| 367 | /** |
|
| 368 | * Build the CustomerEmail and CustomerIPAddress nodes |
|
| @@ 411-424 (lines=14) @@ | ||
| 408 | return $this->shipToFirstName; |
|
| 409 | } |
|
| 410 | ||
| 411 | public function setShipToFirstName($name) |
|
| 412 | { |
|
| 413 | $value = null; |
|
| 414 | ||
| 415 | if (is_string($name)) { |
|
| 416 | $trimmed = trim($name); |
|
| 417 | if (!empty($trimmed)) { |
|
| 418 | $value = $trimmed; |
|
| 419 | } |
|
| 420 | } |
|
| 421 | $this->shipToFirstName = $value; |
|
| 422 | ||
| 423 | return $this; |
|
| 424 | } |
|
| 425 | ||
| 426 | public function getShipToLastName() |
|
| 427 | { |
|
| @@ 431-444 (lines=14) @@ | ||
| 428 | return $this->shipToLastName; |
|
| 429 | } |
|
| 430 | ||
| 431 | public function setShipToLastName($name) |
|
| 432 | { |
|
| 433 | $value = null; |
|
| 434 | ||
| 435 | if (is_string($name)) { |
|
| 436 | $trimmed = trim($name); |
|
| 437 | if (!empty($trimmed)) { |
|
| 438 | $value = $trimmed; |
|
| 439 | } |
|
| 440 | } |
|
| 441 | $this->shipToLastName = $value; |
|
| 442 | ||
| 443 | return $this; |
|
| 444 | } |
|
| 445 | ||
| 446 | public function getShipToPhone() |
|
| 447 | { |
|
| @@ 451-464 (lines=14) @@ | ||
| 448 | return $this->shipToPhone; |
|
| 449 | } |
|
| 450 | ||
| 451 | public function setShipToPhone($phone) |
|
| 452 | { |
|
| 453 | $value = null; |
|
| 454 | ||
| 455 | if (is_string($phone)) { |
|
| 456 | $trimmed = trim($phone); |
|
| 457 | if (!empty($trimmed)) { |
|
| 458 | $value = $trimmed; |
|
| 459 | } |
|
| 460 | } |
|
| 461 | $this->shipToPhone = $value; |
|
| 462 | ||
| 463 | return $this; |
|
| 464 | } |
|
| 465 | ||
| 466 | /** |
|
| 467 | * Build the isRequestToCorrectCVVOrAVSError node |
|
| @@ 608-621 (lines=14) @@ | ||
| 605 | return $this->eci; |
|
| 606 | } |
|
| 607 | ||
| 608 | public function setEci($eci) |
|
| 609 | { |
|
| 610 | $value = null; |
|
| 611 | ||
| 612 | if (is_string($eci)) { |
|
| 613 | $trimmed = trim($eci); |
|
| 614 | if (!empty($trimmed)) { |
|
| 615 | $value = $trimmed; |
|
| 616 | } |
|
| 617 | } |
|
| 618 | $this->eci = $value; |
|
| 619 | ||
| 620 | return $this; |
|
| 621 | } |
|
| 622 | ||
| 623 | /** |
|
| 624 | * Name, value pairs of root attributes |
|